Merge branch 'develop' into travis/msc-send-widget-events
This commit is contained in:
commit
55592d365c
51 changed files with 4669 additions and 689 deletions
|
@ -78,6 +78,11 @@ export function getEffectiveMembership(membership: string): EffectiveMembership
|
|||
}
|
||||
}
|
||||
|
||||
export function isJoinedOrNearlyJoined(membership: string): boolean {
|
||||
const effective = getEffectiveMembership(membership);
|
||||
return effective === EffectiveMembership.Join || effective === EffectiveMembership.Invite;
|
||||
}
|
||||
|
||||
export async function leaveRoomBehaviour(roomId: string) {
|
||||
let leavingAllVersions = true;
|
||||
const history = await MatrixClientPeg.get().getRoomUpgradeHistory(roomId);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue