Fix activation of deleted chat on contact update
This commit is contained in:
parent
efbad4e9bc
commit
1d9d7343c3
|
@ -837,7 +837,7 @@ func (m *Messenger) HandleContactUpdate(state *ReceivedMessageState, message pro
|
|||
chat.LastClockValue = message.Clock
|
||||
}
|
||||
|
||||
if contact.ContactRequestState == ContactRequestStateMutual {
|
||||
if contact.ContactRequestState == ContactRequestStateMutual && chat.DeletedAtClockValue < message.Clock {
|
||||
chat.Active = true
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue