diff --git a/src/app_service/service/contacts/service.nim b/src/app_service/service/contacts/service.nim index 4b2a76dff6..1c09aeb5ac 100644 --- a/src/app_service/service/contacts/service.nim +++ b/src/app_service/service/contacts/service.nim @@ -174,12 +174,11 @@ QtObject: if(receivedData.statusUpdates.len > 0): self.updateAndEmitStatuses(receivedData.statusUpdates) - if(receivedData.contacts.len > 0): + if receivedData.contacts.len > 0: for c in receivedData.contacts: let localContact = self.getContactById(c.id) var receivedContact = c - receivedContact.localNickname = localContact.localNickname self.saveContact(receivedContact) # Check if the contact request was sent by us and if it was approved by the recipient