pull/272/head
Mikunj 7 years ago
parent e343a04eea
commit 57195017f9

@ -8,7 +8,15 @@ const { remove: removeUserConfig } = require('./user_config');
const pify = require('pify');
const uuidv4 = require('uuid/v4');
const { map, isString, fromPairs, forEach, last, isEmpty, isObject } = require('lodash');
const {
map,
isString,
fromPairs,
forEach,
last,
isEmpty,
isObject,
} = require('lodash');
// To get long stack traces
// https://github.com/mapbox/node-sqlite3/wiki/API#sqlite3verbose

@ -1342,7 +1342,7 @@
// Add the message sending on another queue so that our UI doesn't get blocked
this.queueMessageSend(async () => {
message.send(this.wrapSend(promise))
message.send(this.wrapSend(promise));
});
return true;

@ -23,7 +23,7 @@
Contact,
PhoneNumber,
Attachment,
Errors
Errors,
} = Signal.Types;
const {

@ -1024,9 +1024,7 @@ MessageReceiver.prototype.extend({
const groupId = message.group && message.group.id;
const isBlocked = this.isGroupBlocked(groupId);
const isMe = envelope.source === textsecure.storage.user.getNumber();
const conversation = window.ConversationController.get(
envelope.source
);
const conversation = window.ConversationController.get(envelope.source);
const isLeavingGroup = Boolean(
message.group &&
message.group.type === textsecure.protobuf.GroupContext.Type.QUIT
@ -1087,8 +1085,7 @@ MessageReceiver.prototype.extend({
message,
};
return this.dispatchAndWait(ev);
}
)
})
);
},
handleLegacyMessage(envelope) {

@ -31,7 +31,6 @@ interface Props {
showFriendRequestIndicator?: boolean;
isBlocked: boolean;
isOnline: boolean;
isMe: boolean;
hasNickname: boolean;
i18n: Localizer;

Loading…
Cancel
Save