Clear cached self id on successful registration.

This commit is contained in:
Alex Hart
2020-01-15 09:25:49 -04:00
committed by Greyson Parrelli
parent 4b5b9fbde8
commit 92e97e61c1
2 changed files with 8 additions and 1 deletions

View File

@@ -129,6 +129,11 @@ public final class LiveRecipientCache {
});
}
@AnyThread
public synchronized void clearSelf() {
localRecipientId = null;
}
@AnyThread
public synchronized void clear() {
recipients.clear();