1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-07 10:46:24 +03:00

Pass the room object into displayNotification

It needs it to do the view_room if the notification is clicked.
This commit is contained in:
David Baker
2016-12-06 13:27:36 +00:00
parent c0b931a837
commit 28e663dd48
2 changed files with 2 additions and 2 deletions

View File

@@ -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) {
}
/**