Skip unsealed typing messages with active challenges
This commit is contained in:
parent
b8ef9e5cbc
commit
c93a211595
2 changed files with 33 additions and 0 deletions
|
@ -334,6 +334,10 @@ export class ChallengeHandler {
|
|||
);
|
||||
}
|
||||
|
||||
public areAnyRegistered(): boolean {
|
||||
return this.registeredConversations.size > 0;
|
||||
}
|
||||
|
||||
public isRegistered(conversationId: string): boolean {
|
||||
return this.registeredConversations.has(conversationId);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue