cleanup unused stuff in conversation.js

pull/1381/head
Audric Ackermann 4 years ago
parent a2c5427912
commit 28bc3536bd
No known key found for this signature in database
GPG Key ID: 999F434D76324AD4

@ -152,10 +152,6 @@
this.typingRefreshTimer = null;
this.typingPauseTimer = null;
this.messageSendQueue = new JobQueue();
this.selectedMessages = new Set();
// Keep props ready
const generateProps = () => {
this.cachedProps = this.getProps();
@ -524,8 +520,6 @@
isKickedFromGroup: !!this.get('isKickedFromGroup'),
leftGroup: !!this.get('left'),
selectedMessages: this.selectedMessages,
onClick: () => this.trigger('select', this),
onBlockContact: () => this.block(),
onUnblockContact: () => this.unblock(),
@ -1032,16 +1026,6 @@
return current;
},
queueMessageSend(callback) {
const taskWithTimeout = textsecure.createTaskWithTimeout(
callback,
`conversation ${this.idForLogging()}`
);
return this.messageSendQueue.add(taskWithTimeout);
},
getRecipients() {
if (this.isPrivate()) {
return [this.id];

Loading…
Cancel
Save