Dont send typing message to unapprove conversations.

pull/2222/head
warrickct 3 years ago
parent e5ecb9c106
commit 5002a77e60

@ -1649,6 +1649,10 @@ export class ConversationModel extends Backbone.Model<ConversationAttributes> {
throw new Error('Need to provide either recipientId'); throw new Error('Need to provide either recipientId');
} }
if (!this.isApproved()) {
return;
}
if (this.isMe()) { if (this.isMe()) {
// note to self // note to self
return; return;

Loading…
Cancel
Save