fix typeError when subscribing to mailboxes from the profile page

This commit is contained in:
ansuz 2019-07-11 09:55:54 +02:00
parent 677a1594a5
commit 1143ee3974

View File

@ -559,7 +559,7 @@ define([
lm.proxy.on('ready', function () { lm.proxy.on('ready', function () {
updateValues(lm.proxy); updateValues(lm.proxy);
UI.removeLoadingScreen(); UI.removeLoadingScreen();
common.mailbox.subscribe({ common.mailbox.subscribe(["notifications"], {
onMessage: function () { onMessage: function () {
refreshFriendRequest(lm.proxy); refreshFriendRequest(lm.proxy);
}, },