Skip to content

Commit 848567b

Browse files
committed
feat: contact CustomizationColor
status-im/status-go@00f50a4...96c3a11 Signed-off-by: yqrashawn <[email protected]>
1 parent e771d05 commit 848567b

File tree

4 files changed

+9
-6
lines changed

4 files changed

+9
-6
lines changed

src/legacy/status_im/multiaccounts/update/core.cljs

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
[{:keys [db]}]
1111
(let [{:keys [name preferred-name display-name address]} (:profile/profile db)]
1212
{:json-rpc/call [{:method "wakuext_sendContactUpdates"
13-
:params [(or preferred-name display-name name) ""]
13+
:params [(or preferred-name display-name name) "" ""]
1414
:on-success #(log/debug "sent contact update")}]}))
1515

1616
(rf/defn update-multiaccount-account-name

src/status_im/contexts/chat/contacts/events.cljs

+4-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,10 @@
2323
:blocked? (oops/oget js-contact "blocked")
2424
:added? (oops/oget js-contact "added")
2525
:has-added-us? (oops/oget js-contact "hasAddedUs")
26-
:mutual? (oops/oget js-contact "mutual")})
26+
:mutual? (oops/oget js-contact "mutual")
27+
:customization-color (-> js-contact
28+
(oops/oget "customizationColor")
29+
keyword)})
2730

2831
(defn prepare-events-for-contact
2932
[db chats-js]

src/status_im/contexts/profile/settings/events.cljs

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
[{:keys [db]}]
1212
(let [{:keys [name preferred-name display-name]} (:profile/profile db)]
1313
{:json-rpc/call [{:method "wakuext_sendContactUpdates"
14-
:params [(or preferred-name display-name name) ""]
14+
:params [(or preferred-name display-name name) "" ""]
1515
:on-success #(log/debug "sent contact update")}]}))
1616

1717
(rf/defn profile-update

status-go-version.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"_comment": "Instead use: scripts/update-status-go.sh <rev>",
44
"owner": "status-im",
55
"repo": "status-go",
6-
"version": "v0.176.2",
7-
"commit-sha1": "00f50a4112ef80cc29737f8edf34cdb1cf181709",
8-
"src-sha256": "12z9qf0hhb2pc7ask6f86pah0wjp3kyxyv32rpfnkjl42maw0bw6"
6+
"version": "feat/contact-customization-color",
7+
"commit-sha1": "96c3a111f2c90a5754d1c9fb150d28a483dca38f",
8+
"src-sha256": "1cvl0aikd2gbwq6kyicp2qb9ipm9d3y5x1d0l1ga19adiq5vsc72"
99
}

0 commit comments

Comments
 (0)