fix: open story from push notification

This commit is contained in:
Krille-chan 2023-10-02 09:54:24 +02:00 committed by GitHub
parent 73d1b7e190
commit 7c94acdb92
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -322,7 +322,7 @@ class BackgroundPush {
?.content
.tryGet<String>('type') ==
ClientStoriesExtension.storiesRoomType;
FluffyChatApp.router.go('/${isStory ? 'stories' : 'rooms'}/$roomId');
FluffyChatApp.router.go('/${isStory ? 'rooms/stories' : 'rooms'}/$roomId');
} catch (e, s) {
Logs().e('[Push] Failed to open room', e, s);
}