|
|
|
|
@ -80,7 +80,7 @@ public class TypingStatusSender {
|
|
|
|
|
ThreadDatabase threadDatabase = DatabaseComponent.get(context).threadDatabase();
|
|
|
|
|
Recipient recipient = threadDatabase.getRecipientForThreadId(threadId);
|
|
|
|
|
if (recipient == null) { return; }
|
|
|
|
|
if (!SessionMetaProtocol.shouldSendTypingIndicator(recipient.getAddress())) { return; }
|
|
|
|
|
if (!SessionMetaProtocol.shouldSendTypingIndicator(recipient)) { return; }
|
|
|
|
|
TypingIndicator typingIndicator;
|
|
|
|
|
if (typingStarted) {
|
|
|
|
|
typingIndicator = new TypingIndicator(TypingIndicator.Kind.STARTED);
|
|
|
|
|
|