Merge pull request #529 from pangeachat/auto-suggest

Auto suggest
This commit is contained in:
ggurdin 2024-07-26 15:56:49 -04:00 committed by GitHub
commit ba6d395f32
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 7 additions and 2 deletions

View file

@ -863,7 +863,7 @@ class ChatListController extends State<ChatList>
if (space.canSendDefaultStates) {
for (final roomId in selectedRoomIds) {
await space.pangeaSetSpaceChild(roomId);
await space.pangeaSetSpaceChild(roomId, suggested: true);
}
}
// Pangea#

View file

@ -579,7 +579,12 @@ class _SpaceViewState extends State<SpaceView> {
: null,
);
}
await activeSpace.setSpaceChild(roomId);
await activeSpace.setSpaceChild(
roomId,
// #Pangea
suggested: true,
// Pangea#
);
},
);
if (result.error != null) return;