From 9f021a9d7f60ca72b675ce9f6b712bac8615681a Mon Sep 17 00:00:00 2001 From: lilia Date: Mon, 6 Jul 2015 12:58:24 -0700 Subject: [PATCH] Update notification code to new avatar format --- js/panel_controller.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/panel_controller.js b/js/panel_controller.js index 7f9e22df..188ed8a2 100644 --- a/js/panel_controller.js +++ b/js/panel_controller.js @@ -97,7 +97,7 @@ sender.fetch().then(function() { var notification = new Notification(sender.getTitle(), { body: message.getDescription(), - icon: sender.getAvatarUrl(), + icon: sender.getAvatar().url, tag: conversation.id }); notification.onclick = function() {