diff --git a/src/BasePlatform.js b/src/BasePlatform.js index 897a1a2dc8..b8c400c6e3 100644 --- a/src/BasePlatform.js +++ b/src/BasePlatform.js @@ -63,7 +63,7 @@ export default class BasePlatform { requestNotificationPermission() : Promise { } - displayNotification(title: string, msg: string, avatarUrl: string) { + displayNotification(title: string, msg: string, avatarUrl: string, room: Object) { } /** diff --git a/src/Notifier.js b/src/Notifier.js index b9260a046d..a58fc0132f 100644 --- a/src/Notifier.js +++ b/src/Notifier.js @@ -73,7 +73,7 @@ var Notifier = { ev.sender, 40, 40, 'crop' ) : null; - const notif = plaf.displayNotification(title, msg, avatarUrl); + const notif = plaf.displayNotification(title, msg, avatarUrl, room); // if displayNotification returns non-null, the platform supports // clearing notifications later, so keep track of this.