Don't bridge messages from unbridged chats received by bot (ref #219)

This commit is contained in:
Tulir Asokan
2018-09-09 01:26:20 +03:00
parent c9c1023ece
commit 9541d5eceb
2 changed files with 14 additions and 2 deletions
+1 -2
View File
@@ -1168,8 +1168,7 @@ class Portal:
async def handle_telegram_typing(self, user: p.Puppet,
_: Union[UpdateUserTyping, UpdateChatUserTyping]) -> None:
if self.mxid:
await user.intent.set_typing(self.mxid, is_typing=True)
await user.intent.set_typing(self.mxid, is_typing=True)
def get_external_url(self, evt: Message) -> Optional[str]:
if self.peer_type == "channel" and self.username is not None: