Pass the room object into displayNotification
It needs it to do the view_room if the notification is clicked.
This commit is contained in:
parent
c0b931a837
commit
28e663dd48
2 changed files with 2 additions and 2 deletions
|
@ -63,7 +63,7 @@ export default class BasePlatform {
|
|||
requestNotificationPermission() : Promise<string> {
|
||||
}
|
||||
|
||||
displayNotification(title: string, msg: string, avatarUrl: string) {
|
||||
displayNotification(title: string, msg: string, avatarUrl: string, room: Object) {
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue