Skip to content

Commit 2ec261b

Browse files
committed
feat: contact CustomizationColor
status-im/status-go@9e1d65b...96bdb8a Signed-off-by: yqrashawn <[email protected]>
1 parent 7065f4a commit 2ec261b

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

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.6",
7-
"commit-sha1": "200d5f054096518848adabca82d56105af97086f",
8-
"src-sha256": "02c04j7dd29wd0sxbk97yfwq8gj3hwjvlrj07b188cqkq08p920f"
6+
"version": "feat/contact-customization-color",
7+
"commit-sha1": "96bdb8a08abcf14d705c85f4814fc68e671e158b",
8+
"src-sha256": "1bkssk2waapy6b2wf8d8grspmaaiw22dgjyg09mdb931snr3aaq8"
99
}

0 commit comments

Comments
 (0)