From 5002a77e60c767138623662602f88dc8859619b9 Mon Sep 17 00:00:00 2001 From: warrickct Date: Tue, 22 Feb 2022 10:30:49 +1100 Subject: [PATCH] Dont send typing message to unapprove conversations. --- ts/models/conversation.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ts/models/conversation.ts b/ts/models/conversation.ts index f2d382a48..197b579ba 100644 --- a/ts/models/conversation.ts +++ b/ts/models/conversation.ts @@ -1649,6 +1649,10 @@ export class ConversationModel extends Backbone.Model { throw new Error('Need to provide either recipientId'); } + if (!this.isApproved()) { + return; + } + if (this.isMe()) { // note to self return;