chore: Update local notifications package
This commit is contained in:
parent
5e5aaa8ff9
commit
65511ca114
6 changed files with 23 additions and 22 deletions
|
|
@ -250,7 +250,7 @@ class BackgroundPush {
|
|||
return;
|
||||
}
|
||||
_wentToRoomOnStartup = true;
|
||||
goToRoom(details.payload);
|
||||
goToRoom(details.notificationResponse);
|
||||
});
|
||||
}
|
||||
|
||||
|
|
@ -294,8 +294,9 @@ class BackgroundPush {
|
|||
);
|
||||
}
|
||||
|
||||
Future<void> goToRoom(String? roomId) async {
|
||||
Future<void> goToRoom(NotificationResponse? response) async {
|
||||
try {
|
||||
final roomId = response?.payload;
|
||||
Logs().v('[Push] Attempting to go to room $roomId...');
|
||||
if (router == null || roomId == null) {
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue