mirror of
https://github.com/cryptpad/cryptpad.git
synced 2026-09-14 11:05:41 +05:00
lint compliance
This commit is contained in:
parent
9582c86be7
commit
ed7becbb54
@ -86,6 +86,7 @@ define([
|
||||
// until the message is manually dismissed.
|
||||
|
||||
var friendRequestDeclined = {};
|
||||
var friendRequestAccepted = {};
|
||||
handlers['DECLINE_FRIEND_REQUEST'] = function (ctx, box, data, cb) {
|
||||
// Old format: data was stored directly in "content"
|
||||
var userData = data.msg.content.user || data.msg.content;
|
||||
@ -133,7 +134,6 @@ define([
|
||||
if (friendRequestDeclined[curve]) { delete friendRequestDeclined[curve]; }
|
||||
};
|
||||
|
||||
var friendRequestAccepted = {};
|
||||
handlers['ACCEPT_FRIEND_REQUEST'] = function (ctx, box, data, cb) {
|
||||
// Old format: data was stored directly in "content"
|
||||
var userData = data.msg.content.user || data.msg.content;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user