-
Notifications
You must be signed in to change notification settings - Fork 985
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Fix] Broken wallet account emoji when syncing devices #18828
Conversation
@@ -22,6 +22,12 @@ | |||
[account] | |||
(assoc account :watch-only? (= (:type account) :watch))) | |||
|
|||
(defn- sanitize-emoji | |||
[emoji] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe we should add a comment to the purpose of this
Jenkins BuildsClick to see older builds (4)
|
6c47bb1
to
181cf09
Compare
48% of end-end tests have passed
Failed tests (24)Click to expandClass TestOneToOneChatMultipleSharedDevicesNewUi:
Class TestCommunityMultipleDeviceMergedTwo:
Class TestActivityMultipleDevicePRTwo:
Class TestGroupChatMultipleDeviceMergedNewUI:
Class TestActivityCenterContactRequestMultipleDevicePR:
Class TestOneToOneChatMultipleSharedDevicesNewUiTwo:
Class TestCommunityMultipleDeviceMerged:
Expected to fail tests (1)Click to expandClass TestCommunityOneDeviceMerged:
Passed tests (23)Click to expandClass TestOneToOneChatMultipleSharedDevicesNewUi:
Class TestCommunityMultipleDeviceMergedTwo:
Class TestCommunityOneDeviceMerged:
Class TestGroupChatMultipleDeviceMergedNewUI:
Class TestActivityCenterContactRequestMultipleDevicePR:
Class TestOneToOneChatMultipleSharedDevicesNewUiTwo:
Class TestCommunityMultipleDeviceMerged:
Class TestActivityMultipleDevicePR:
Class TestDeepLinksOneDevice:
|
Hi @smohamedjavid, thank you for PR. No issues from my side. PR is ready to be merged |
Signed-off-by: Mohamed Javid <19339952+smohamedjavid@users.noreply.github.com>
181cf09
to
3cd4ae1
Compare
This commit fixes the broken wallet account emoji when syncing devices by adding a sanitization method for the wallet account emoji. The desktop can handle both variants (raw emoji and img tag); this PR adds the same for mobile. Signed-off-by: Mohamed Javid <19339952+smohamedjavid@users.noreply.github.com>
fixes #18640
Summary
This PR fixes the broken wallet account emoji when syncing devices by adding a sanitization method for the wallet account emoji. The desktop can handle both variants (raw emoji and img tag) and this PR adds the same for mobile.
Review notes
Since the Desktop uses Twemoji, it is used to save the account emoji in img tag in status-go. It was fixed to save only the emoji instead of img tag. Somehow, the img tag is still propagated from the desktop. It will be debugged by the desktop team later (as this issue is not a priority at this moment). Additionally, this fix (sanitization) would help prevent such issues from happening from backup restore in mobile.
Platforms
Steps to test
Prerequisite: Create a user in Desktop
status: ready