Skip to content
This repository has been archived by the owner on Mar 2, 2024. It is now read-only.

invite bot on room creation so that it can invite ghost later if needed #316

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions mautrix_facebook/portal.py
Original file line number Diff line number Diff line change
Expand Up @@ -672,8 +672,9 @@ async def _create_matrix_room(
"content": self.get_encryption_state_event_json(),
}
)
if self.is_direct:
invites.append(self.az.bot_mxid)

if self.is_direct:
invites.append(self.az.bot_mxid)

info = await self.update_info(source, info=info)
if not info:
Expand Down