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
719af90f...9dea0aae
This commit is contained in:
parent
fa21c22fab
commit
9e5c7cdea5
|
@ -60,7 +60,8 @@
|
||||||
(:contacts/contacts db)
|
(:contacts/contacts db)
|
||||||
public-key)
|
public-key)
|
||||||
(assoc :blocked? true
|
(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]))]
|
from-one-to-one-chat? (not (get-in db [:chats (:current-chat-id db) :group-chat]))]
|
||||||
(rf/merge cofx
|
(rf/merge cofx
|
||||||
{:db (assoc-in db [:contacts/contacts public-key] contact)}
|
{:db (assoc-in db [:contacts/contacts public-key] contact)}
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
"_comment": "Instead use: scripts/update-status-go.sh <rev>",
|
"_comment": "Instead use: scripts/update-status-go.sh <rev>",
|
||||||
"owner": "status-im",
|
"owner": "status-im",
|
||||||
"repo": "status-go",
|
"repo": "status-go",
|
||||||
"version": "v0.145.2",
|
"version": "v0.146.3",
|
||||||
"commit-sha1": "719af90fcc077f301f50349c034938701883031e",
|
"commit-sha1": "9dea0aaee3ce0ebb29c6898c771a383dfbd6bb52",
|
||||||
"src-sha256": "1p93x7ph03aq95961j4098fy2p7a4ssymf4hf3kbl5ldmvdk403p"
|
"src-sha256": "08hcl3bmy0f90b3drd2ny1gn0hs6rmbzdkv7drikvgpsnfanm8gw"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue