Pass the room object into displayNotification
It needs it to do the view_room if the notification is clicked.
This commit is contained in:
@@ -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) {
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user