diff --git a/src/matrix.py b/src/matrix.py index a2f1e73..3b1fa58 100644 --- a/src/matrix.py +++ b/src/matrix.py @@ -40,6 +40,8 @@ def __init__(self, config={}): self.allow_observance_flag = ALLOW_OBSERVANCE self.id = config.get("id", str(uuid.uuid4())) + if config.get("mid"): #rails sets id, this will all be cleaned up + self.id = config.get("mid") if self.id == None: self.id = str(uuid.uuid4()) print(f"matrix id is {self.id}")