invite-related fixups
This commit is contained in:
parent
485383e99c
commit
ba258c2fcd
6 changed files with 66 additions and 32 deletions
|
|
@ -59,8 +59,13 @@ class InvitesController extends Notifier<IList<RoomSummary>> {
|
|||
summary.copyWith(
|
||||
worldReadable: historyVisibility == .worldReadable,
|
||||
),
|
||||
MembershipContent(:final isDirect) when event.stateKey == userId =>
|
||||
summary.copyWith(invitedBy: event.sender, isDirect: isDirect),
|
||||
MembershipContent(:final isDirect, :final reason)
|
||||
when event.stateKey == userId =>
|
||||
summary.copyWith(
|
||||
invitedBy: event.sender,
|
||||
inviteReason: reason,
|
||||
isDirect: isDirect,
|
||||
),
|
||||
_ => summary,
|
||||
},
|
||||
);
|
||||
|
|
|
|||
Loading…
Reference in a new issue