Fix misnaming of called function

It was public, not private
This commit is contained in:
Andrew Ferrazzutti 2022-04-23 17:02:53 -04:00
parent db33378345
commit eed3baa981
1 changed files with 1 additions and 1 deletions

View File

@ -585,7 +585,7 @@ class Portal(DBPortal, BasePortal):
await puppet.update_info_from_participant(source, participant) await puppet.update_info_from_participant(source, participant)
changed = False changed = False
if self.is_direct and self._kt_sender == puppet.ktid and self.encrypted: if self.is_direct and self._kt_sender == puppet.ktid and self.encrypted:
changed = await self._update_info_from_puppet(puppet.name) or changed changed = await self.update_info_from_puppet(puppet.name) or changed
if self.mxid: if self.mxid:
if puppet.ktid != self.kt_receiver or puppet.is_real_user: if puppet.ktid != self.kt_receiver or puppet.is_real_user:
await puppet.intent_for(self).ensure_joined(self.mxid, bot=self.main_intent) await puppet.intent_for(self).ensure_joined(self.mxid, bot=self.main_intent)