Do not crash in _create_matrix_room if invites is None
This commit is contained in:
@@ -249,6 +249,9 @@ class PortalMetadata(BasePortal, ABC):
|
|||||||
) -> Optional[RoomID]:
|
) -> Optional[RoomID]:
|
||||||
direct = self.peer_type == "user"
|
direct = self.peer_type == "user"
|
||||||
|
|
||||||
|
if invites is None:
|
||||||
|
invites = []
|
||||||
|
|
||||||
if self.mxid:
|
if self.mxid:
|
||||||
return self.mxid
|
return self.mxid
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user