Update notification code to new avatar format

This commit is contained in:
lilia 2015-07-06 12:58:24 -07:00
parent 66ae3689c1
commit 9f021a9d7f

View file

@ -97,7 +97,7 @@
sender.fetch().then(function() { sender.fetch().then(function() {
var notification = new Notification(sender.getTitle(), { var notification = new Notification(sender.getTitle(), {
body: message.getDescription(), body: message.getDescription(),
icon: sender.getAvatarUrl(), icon: sender.getAvatar().url,
tag: conversation.id tag: conversation.id
}); });
notification.onclick = function() { notification.onclick = function() {