mirror of
https://github.com/oxen-io/session-android.git
synced 2025-12-28 14:48:17 +00:00
fix blocked contacts can still see typing indicator and set disappearing messages
This commit is contained in:
@@ -51,6 +51,10 @@ public class TypingStatusRepository implements SSKEnvironment.TypingIndicatorsPr
|
||||
return;
|
||||
}
|
||||
|
||||
if (Recipient.from(context, author, false).isBlocked()) {
|
||||
return;
|
||||
}
|
||||
|
||||
Set<Typist> typists = Util.getOrDefault(typistMap, threadId, new LinkedHashSet<>());
|
||||
Typist typist = new Typist(Recipient.from(context, author, false), device, threadId);
|
||||
|
||||
@@ -76,6 +80,10 @@ public class TypingStatusRepository implements SSKEnvironment.TypingIndicatorsPr
|
||||
return;
|
||||
}
|
||||
|
||||
if (Recipient.from(context, author, false).isBlocked()) {
|
||||
return;
|
||||
}
|
||||
|
||||
Set<Typist> typists = Util.getOrDefault(typistMap, threadId, new LinkedHashSet<>());
|
||||
Typist typist = new Typist(Recipient.from(context, author, false), device, threadId);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user