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