mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-24 10:51:27 +01:00
Fix bad migration state that could happen during a device transfer.
This commit is contained in:
committed by
Alex Hart
parent
63ce2de3bf
commit
8c707555f2
@@ -168,7 +168,9 @@ public final class LiveRecipientCache {
|
||||
}
|
||||
|
||||
if (selfId == null) {
|
||||
Log.i(TAG, "Creating self for the first time.");
|
||||
selfId = recipientTable.getAndPossiblyMerge(localAci, localE164);
|
||||
recipientTable.updatePendingSelfData(selfId);
|
||||
}
|
||||
|
||||
synchronized (localRecipientId) {
|
||||
|
||||
Reference in New Issue
Block a user