From fdb462053ab0897213f0569ae17084e5f258a3cf Mon Sep 17 00:00:00 2001 From: Zuzanna Date: Thu, 12 Mar 2026 11:39:44 +0100 Subject: [PATCH] cleaning --- www/common/messenger-ui.js | 3 +-- www/common/notifications.js | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/www/common/messenger-ui.js b/www/common/messenger-ui.js index 595218f13..d6d1396e7 100644 --- a/www/common/messenger-ui.js +++ b/www/common/messenger-ui.js @@ -243,6 +243,7 @@ define([ var clearChannel = function (id) { $(getChat(id)).find('.cp-app-contacts-messages').html(''); }; + var userInfo; markup.chatbox = function (id, data, curvePublic) { var moreHistory = h('span', { class: 'cp-app-contacts-more-history', @@ -588,7 +589,6 @@ define([ var status = h('span.cp-app-contacts-status', { title: Messages.contacts_online }); - var rightCol = h('span.cp-app-contacts-right-col', [ h('span.cp-app-contacts-name', [room.isFriendChat? UI.getDisplayName(room.name): room.name]), h('span.cp-app-contacts-icons', [ @@ -1102,7 +1102,6 @@ define([ }); }; //}); - var userInfo; execCommand('GET_MY_INFO', null, function (e, info) { if (e) { return; } contactsData[info.curvePublic] = info; diff --git a/www/common/notifications.js b/www/common/notifications.js index a3bb4e1ef..b9378097a 100644 --- a/www/common/notifications.js +++ b/www/common/notifications.js @@ -10,12 +10,11 @@ define([ '/common/common-ui-elements.js', '/common/common-util.js', '/common/common-constants.js', - '/common/visible.js', '/customize/messages.js', '/customize/pages.js', '/common/common-icons.js', 'tui-date-picker' -], function($, h, Hash, UI, UIElements, Util, Constants, Visible, Messages, Pages, Icons, DatePicker) { +], function($, h, Hash, UI, UIElements, Util, Constants, Messages, Pages, Icons, DatePicker) { var handlers = {};