Skip to content

Commit feb4a18

Browse files
committed
feat: contact CustomizationColor
status-im/status-go@9e1d65b...0401218 Signed-off-by: yqrashawn <[email protected]>
1 parent 669a232 commit feb4a18

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
@@ -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]

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.5",
7-
"commit-sha1": "8e8c16142db0eed19f1138caf4ae85f4030534a7",
8-
"src-sha256": "1gpdrj0ajad93l4ycrzy8njddklhzrqgcqp6i7ydr8slljp6ijz0"
6+
"version": "feat/contact-customization-color",
7+
"commit-sha1": "0401218de5656700bf90e988bdb5c2f45a83faa6",
8+
"src-sha256": "0idbkvg7wxrb2l2yax874rixfjp63q3051zv7f7bgycjh1haa224"
99
}

0 commit comments

Comments
 (0)