Skip to content

Commit 308bdd4

Browse files
committed
feat: contact CustomizationColor
status-im/status-go@8c0e24d...a13e1be Signed-off-by: yqrashawn <[email protected]>
1 parent 69294b1 commit 308bdd4

File tree

4 files changed

+9
-6
lines changed

4 files changed

+9
-6
lines changed

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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,10 @@
2727
:has-added-us? (oops/oget js-contact "hasAddedUs")
2828
:mutual? (oops/oget js-contact "mutual")
2929
:emoji-hash (oops/oget js-contact "emojiHash")
30-
:bio (oops/oget js-contact "bio")})
30+
:bio (oops/oget js-contact "bio")
31+
:customization-color (-> js-contact
32+
(oops/oget "customizationColor")
33+
keyword)})
3134

3235
(defn prepare-events-for-contact
3336
[db chats-js]

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
(let [{:keys [name preferred-name display-name]} (:profile/profile db)]
3030
[:json-rpc/call
3131
[{:method "wakuext_sendContactUpdates"
32-
:params [(or preferred-name display-name name) ""]
32+
:params [(or preferred-name display-name name) "" ""]
3333
:on-success #(log/debug "sent contact update")}]]))]}))
3434

3535
(rf/reg-event-fx :profile.settings/change-preview-privacy

status-go-version.json

Lines changed: 3 additions & 3 deletions
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.9",
7-
"commit-sha1": "a3ad05db58b8af20bf6b7ab852f8603212abac4e",
8-
"src-sha256": "10c05kgihczbams3i8fkfm1mh5m61bnsjh255c22m4awc073rg12"
6+
"version": "feat/contact-customization-color",
7+
"commit-sha1": "a13e1be5ec9abbf06a31e5b71ee0cb943a78883c",
8+
"src-sha256": "1c5dpxlaprii1nikkn5sdkr0kx5qh48g41aa150gh2v66r4yfsh9"
99
}

0 commit comments

Comments
 (0)