any membership -> leave
parent
86bd86418e
commit
19e33041e9
|
@ -1 +1 @@
|
|||
Generalise `RoomMemberHandler._locally_reject_invite` for any membership type.
|
||||
Generalise `RoomMemberHandler._locally_reject_invite` to apply to more flows than just invite.
|
|
@ -1104,11 +1104,11 @@ class RoomMemberMasterHandler(RoomMemberHandler):
|
|||
#
|
||||
logger.warning("Failed to reject invite: %s", e)
|
||||
|
||||
return await self._generate_local_out_of_band_membership(
|
||||
return await self._generate_local_out_of_band_leave(
|
||||
invite_event, txn_id, requester, content
|
||||
)
|
||||
|
||||
async def _generate_local_out_of_band_membership(
|
||||
async def _generate_local_out_of_band_leave(
|
||||
self,
|
||||
previous_membership_event: EventBase,
|
||||
txn_id: Optional[str],
|
||||
|
|
Loading…
Reference in New Issue