Don't send empty read status reports
// FREEBIE
This commit is contained in:
parent
f88b33a135
commit
01053335ac
1 changed files with 5 additions and 3 deletions
|
@ -219,8 +219,10 @@
|
||||||
timestamp : m.get('sent_at')
|
timestamp : m.get('sent_at')
|
||||||
};
|
};
|
||||||
}.bind(this));
|
}.bind(this));
|
||||||
|
if (readReceipts.length > 0) {
|
||||||
textsecure.messaging.sendReadReceipts(readReceipts);
|
textsecure.messaging.sendReadReceipts(readReceipts);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
fetchMessages: function() {
|
fetchMessages: function() {
|
||||||
|
|
Loading…
Reference in a new issue