mirror of
https://github.com/cryptpad/cryptpad.git
synced 2026-09-14 11:05:41 +05:00
cleaning
This commit is contained in:
parent
179df68849
commit
fdb462053a
@ -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;
|
||||
|
||||
@ -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 = {};
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user