remove unused code

pull/1292/head
Audric Ackermann 5 years ago
parent 708a999ff6
commit 6d267b0fcb
No known key found for this signature in database
GPG Key ID: 999F434D76324AD4

@ -1341,10 +1341,7 @@
if (this.isMe()) {
return message.sendSyncMessageOnly(chatMessage);
}
const options = {};
options.messageType = message.get('type');
options.isPublic = this.isPublic();
if (this.isPublic()) {
const openGroup = this.toOpenGroup();
@ -1365,7 +1362,6 @@
return null;
}
options.sessionRestoration = sessionRestoration;
const destinationPubkey = new libsession.Types.PubKey(destination);
// Handle Group Invitation Message
if (groupInvitation) {

Loading…
Cancel
Save