mirror of
https://github.com/status-im/status-go.git
synced 2025-02-16 08:50:09 +00:00
fix: don't save sender as contact for certain message types (#4052)
This commit is contained in:
parent
4cab5b6106
commit
a89dc020e1
@ -3615,8 +3615,10 @@ func (m *Messenger) handleRetrievedMessages(chatWithMessages map[transport.Filte
|
||||
continue
|
||||
}
|
||||
contact = c
|
||||
messageState.AllContacts.Store(senderID, contact)
|
||||
m.forgetContactInfoRequest(senderID)
|
||||
if msg.Type != protobuf.ApplicationMetadataMessage_PUSH_NOTIFICATION_QUERY {
|
||||
messageState.AllContacts.Store(senderID, contact)
|
||||
m.forgetContactInfoRequest(senderID)
|
||||
}
|
||||
}
|
||||
messageState.CurrentMessageState = &CurrentMessageState{
|
||||
MessageID: messageID,
|
||||
|
Loading…
x
Reference in New Issue
Block a user