Add support for inviting users and initiating chats from Matrix

This commit is contained in:
Tulir Asokan
2018-01-28 17:02:32 +02:00
parent aadaffa97a
commit 143ca11f05
9 changed files with 208 additions and 39 deletions
+1 -1
View File
@@ -173,7 +173,7 @@ class User:
or isinstance(entity, (ChannelForbidden, ChatForbidden))):
continue
portal = po.Portal.get_by_entity(entity)
portal.create_room(self, entity, invites=[self.mxid])
portal.create_matrix_room(self, entity, invites=[self.mxid])
# endregion
# region Telegram update handling