From 9e5c7cdea524f5e5b08114724dfb4c7f74b656df Mon Sep 17 00:00:00 2001 From: John Ngei Date: Thu, 20 Apr 2023 20:46:48 +0300 Subject: [PATCH] fix: remove contact from mutual contact list after contact is blocked * fix: remove contact from mutual contact list after contact is blocked * remove our contact from remote user contact list when contact is blocked https://github.com/status-im/status-go/compare/719af90f...9dea0aae --- src/status_im/contact/block.cljs | 3 ++- status-go-version.json | 6 +++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/status_im/contact/block.cljs b/src/status_im/contact/block.cljs index 9677673c94..d75e155e8e 100644 --- a/src/status_im/contact/block.cljs +++ b/src/status_im/contact/block.cljs @@ -60,7 +60,8 @@ (:contacts/contacts db) public-key) (assoc :blocked? true - :added? false)) + :added? false + :active? false)) from-one-to-one-chat? (not (get-in db [:chats (:current-chat-id db) :group-chat]))] (rf/merge cofx {:db (assoc-in db [:contacts/contacts public-key] contact)} diff --git a/status-go-version.json b/status-go-version.json index f353071b4f..6f0957fb8b 100644 --- a/status-go-version.json +++ b/status-go-version.json @@ -3,7 +3,7 @@ "_comment": "Instead use: scripts/update-status-go.sh ", "owner": "status-im", "repo": "status-go", - "version": "v0.145.2", - "commit-sha1": "719af90fcc077f301f50349c034938701883031e", - "src-sha256": "1p93x7ph03aq95961j4098fy2p7a4ssymf4hf3kbl5ldmvdk403p" + "version": "v0.146.3", + "commit-sha1": "9dea0aaee3ce0ebb29c6898c771a383dfbd6bb52", + "src-sha256": "08hcl3bmy0f90b3drd2ny1gn0hs6rmbzdkv7drikvgpsnfanm8gw" }