fix: open story from push notification
This commit is contained in:
parent
73d1b7e190
commit
7c94acdb92
1 changed files with 1 additions and 1 deletions
|
|
@ -322,7 +322,7 @@ class BackgroundPush {
|
||||||
?.content
|
?.content
|
||||||
.tryGet<String>('type') ==
|
.tryGet<String>('type') ==
|
||||||
ClientStoriesExtension.storiesRoomType;
|
ClientStoriesExtension.storiesRoomType;
|
||||||
FluffyChatApp.router.go('/${isStory ? 'stories' : 'rooms'}/$roomId');
|
FluffyChatApp.router.go('/${isStory ? 'rooms/stories' : 'rooms'}/$roomId');
|
||||||
} catch (e, s) {
|
} catch (e, s) {
|
||||||
Logs().e('[Push] Failed to open room', e, s);
|
Logs().e('[Push] Failed to open room', e, s);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue