Allow using cache when syncing Matrix puppet joins

This commit is contained in:
Tulir Asokan
2018-02-04 11:51:15 +02:00
parent 00afa32782
commit 5b98aab889
2 changed files with 22 additions and 22 deletions
+1 -1
View File
@@ -170,7 +170,7 @@ class Portal:
for entity in users:
puppet = p.Puppet.get(entity.id)
puppet.update_info(source, entity)
puppet.intent.join_room(self.mxid)
puppet.intent.ensure_joined(self.mxid)
def add_telegram_user(self, user_id, source=None):
puppet = p.Puppet.get(user_id)