-
Notifications
You must be signed in to change notification settings - Fork 79
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 mutual state update messages #11178
Conversation
Jenkins BuildsClick to see older builds (132)
|
16fc8ad
to
d140267
Compare
d140267
to
95a55db
Compare
9c1b144
to
24feafc
Compare
8979343
to
56b6634
Compare
@@ -19,7 +19,9 @@ type | |||
ContactIdentityVerification = 13 | |||
# Local only | |||
SystemMessagePinnedMessage = 14 | |||
SystemMessageMutualStateUpdate = 15 | |||
SystemMessageMutualEventSent = 15 |
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.
Different message types needed by mobile, see status-im/status-mobile#16254
f24297e
to
689814f
Compare
9d6376f
to
f98aa93
Compare
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.
Cool, looks great!
I suppose this might also fix #11113?
qsTr("%1 sent you a contact request").arg(displayName) | ||
case Constants.messageContentType.systemMessageMutualEventAccepted: | ||
return root.amISender ? | ||
qsTr("You accepted %1's contact request").arg(displayName) : |
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.
Not sure if localisation will work in the right way for %1's
.
cc @caybro
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.
I believe arg()
is applied after qsTr()
, so any translation containing %1 should work, like Přijali jste žádost o kontakt od %1
f98aa93
to
c2c6116
Compare
Close #11121
Requires status-im/status-go#3640
See the desired flow in the status-go PR
What does the PR do
added
messages toaccepted
@
from system messagesAffected areas
Chat, Contacts, ActivityCenter
Screenshot of functionality (including design for comparison)