Fix activation of deleted chat on contact update

This commit is contained in:
Roman Volosovskyi 2023-01-24 20:03:18 +01:00
parent efbad4e9bc
commit 1d9d7343c3
No known key found for this signature in database
GPG Key ID: 0238A4B5ECEE70DE
2 changed files with 2 additions and 2 deletions

View File

@ -1 +1 @@
0.125.0
0.125.1

View File

@ -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
}