diff --git a/apps/ios/Shared/Views/Chat/ChatInfoView.swift b/apps/ios/Shared/Views/Chat/ChatInfoView.swift index 86532605db..8b60fc7649 100644 --- a/apps/ios/Shared/Views/Chat/ChatInfoView.swift +++ b/apps/ios/Shared/Views/Chat/ChatInfoView.swift @@ -579,7 +579,7 @@ struct ChatInfoView: View { let ct = try await apiSetContactPQ(contact.apiId, true) contact = ct await MainActor.run { - chatModel.updateContact(contact) + chatModel.updateContact(ct) dismiss() } } catch let error { diff --git a/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/views/chat/ChatInfoView.kt b/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/views/chat/ChatInfoView.kt index 9f526f3eb8..42257cf723 100644 --- a/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/views/chat/ChatInfoView.kt +++ b/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/views/chat/ChatInfoView.kt @@ -145,7 +145,7 @@ fun ChatInfoView( withBGApi { val ct = chatModel.controller.apiSetContactPQ(chatRh, contact.contactId, true) if (ct != null) { - chatModel.updateContact(chatRh, contact) + chatModel.updateContact(chatRh, ct) } close.invoke() }