Limit custom puppet syncing to own EDUs to prevent echoing/duplicates

This commit is contained in:
Tulir Asokan
2018-07-24 12:47:27 -04:00
parent a22b83de44
commit 55b6773b5e
+4 -2
View File
@@ -136,7 +136,8 @@ class Puppet:
"types": [], "types": [],
}, },
"ephemeral": { "ephemeral": {
"types": ["m.typing", "m.receipt"] "types": ["m.typing", "m.receipt"],
"senders": [self.custom_mxid],
}, },
"account_data": { "account_data": {
"types": [] "types": []
@@ -146,7 +147,8 @@ class Puppet:
"types": [], "types": [],
}, },
"presence": { "presence": {
"types": ["m.presence"] "types": ["m.presence"],
"senders": [self.custom_mxid],
}, },
}) })