mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-26 11:51:10 +01:00
Clear cached self id on successful registration.
This commit is contained in:
committed by
Greyson Parrelli
parent
4b5b9fbde8
commit
92e97e61c1
@@ -129,6 +129,11 @@ public final class LiveRecipientCache {
|
||||
});
|
||||
}
|
||||
|
||||
@AnyThread
|
||||
public synchronized void clearSelf() {
|
||||
localRecipientId = null;
|
||||
}
|
||||
|
||||
@AnyThread
|
||||
public synchronized void clear() {
|
||||
recipients.clear();
|
||||
|
||||
Reference in New Issue
Block a user