Skip to content

Commit 560dc14

Browse files
committed
feat: contact CustomizationColor
status-im/status-go@200d5f0...2261501 Signed-off-by: yqrashawn <[email protected]>
1 parent 2009199 commit 560dc14

File tree

4 files changed

+9
-6
lines changed

4 files changed

+9
-6
lines changed

Diff for: 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

Diff for: src/status_im/contexts/chat/contacts/events.cljs

+4-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,10 @@
2525
:has-added-us? (oops/oget js-contact "hasAddedUs")
2626
:mutual? (oops/oget js-contact "mutual")
2727
:emoji-hash (oops/oget js-contact "emojiHash")
28-
:bio (oops/oget js-contact "bio")})
28+
:bio (oops/oget js-contact "bio")
29+
:customization-color (-> js-contact
30+
(oops/oget "customizationColor")
31+
keyword)})
2932

3033
(defn prepare-events-for-contact
3134
[db chats-js]

Diff for: src/status_im/contexts/profile/settings/events.cljs

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

1818
(rf/defn profile-update

Diff for: 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.8",
7-
"commit-sha1": "8c0e24dc260031a822604f7a2771f22daea79aa4",
8-
"src-sha256": "1c6r5gizcvixawl1c0lxd022wg54m5qxw8rr1q1i9221pzbfmmsl"
6+
"version": "feat/contact-customization-color",
7+
"commit-sha1": "22615010e6b4909cc4750db390c34ed55fb47f90",
8+
"src-sha256": "0rvzx6r79rvcidxp49j0m2hvfsrpvysk1f52qqj2kbiq2kmqm26q"
99
}

0 commit comments

Comments
 (0)