when adding a room to a space via the chat list item popup, remove it from any other parent spaces it was previously in

This commit is contained in:
ggurdin 2024-09-09 11:20:32 -04:00
parent 10c0cfef2a
commit f016d6e24b
No known key found for this signature in database
GPG key ID: A01CB41737CBB478

View file

@ -903,7 +903,10 @@ class ChatListController extends State<ChatList>
if (space == null) return;
await showFutureLoadingDialog(
context: context,
future: () => space.setSpaceChild(room.id),
// #Pangea
// future: () => space.setSpaceChild(room.id),
future: () => space.pangeaSetSpaceChild(room.id),
// Pangea#
);
// #Pangea
return;