chore: Follow up join space invites
This commit is contained in:
parent
254f21ce00
commit
64c56f889b
1 changed files with 4 additions and 4 deletions
|
|
@ -201,10 +201,6 @@ class ChatListController extends State<ChatList>
|
||||||
}
|
}
|
||||||
|
|
||||||
void onChatTap(Room room) async {
|
void onChatTap(Room room) async {
|
||||||
if (room.isSpace) {
|
|
||||||
setActiveSpace(room.id);
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
if (room.membership == Membership.invite) {
|
if (room.membership == Membership.invite) {
|
||||||
final inviterId =
|
final inviterId =
|
||||||
room.getState(EventTypes.RoomMember, room.client.userID!)?.senderId;
|
room.getState(EventTypes.RoomMember, room.client.userID!)?.senderId;
|
||||||
|
|
@ -275,6 +271,10 @@ class ChatListController extends State<ChatList>
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (room.isSpace) {
|
||||||
|
setActiveSpace(room.id);
|
||||||
|
return;
|
||||||
|
}
|
||||||
// Share content into this room
|
// Share content into this room
|
||||||
final shareContent = Matrix.of(context).shareContent;
|
final shareContent = Matrix.of(context).shareContent;
|
||||||
if (shareContent != null) {
|
if (shareContent != null) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue