fix_: store contacts from the backup that were removed
This commit is contained in:
parent
55bad8fd7b
commit
cf3f847ea8
|
@ -603,7 +603,8 @@ func (m *Messenger) HandleSyncInstallationContactV2(state *ReceivedMessageState,
|
||||||
|
|
||||||
contact, contactFound := state.AllContacts.Load(message.Id)
|
contact, contactFound := state.AllContacts.Load(message.Id)
|
||||||
if !contactFound {
|
if !contactFound {
|
||||||
if message.Removed && !message.Blocked {
|
fromPairedDevice := statusMessage != nil
|
||||||
|
if fromPairedDevice && message.Removed && !message.Blocked {
|
||||||
// Nothing to do in case if contact doesn't exist
|
// Nothing to do in case if contact doesn't exist
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue