Update mautrix-python

This commit is contained in:
Tulir Asokan
2020-07-27 13:28:08 +03:00
parent 8299b68b96
commit 993354bce5
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -374,7 +374,7 @@ class MatrixHandler(BaseMatrixHandler):
def filter_matrix_event(self, evt: Event) -> bool:
if not isinstance(evt, (RedactionEvent, MessageEvent, StateEvent, EncryptedEvent)):
return True
if evt.content.get("net.maunium.telegram.puppet", False):
if evt.content.get(self.az.real_user_content_key, False):
puppet = pu.Puppet.get_by_custom_mxid(evt.sender)
if puppet:
self.log.debug("Ignoring puppet-sent event %s", evt.event_id)
+1 -1
View File
@@ -4,6 +4,6 @@ ruamel.yaml>=0.15.35,<0.17
python-magic>=0.4,<0.5
commonmark>=0.8,<0.10
aiohttp>=3,<4
mautrix==0.6.0rc5
mautrix>=0.6,<0.7
telethon>=1.13,<1.16
telethon-session-sqlalchemy>=0.2.14,<0.3