From c35930c40827596865c2f70bb443d2778b3822ed Mon Sep 17 00:00:00 2001 From: ThomasSession Date: Mon, 17 Feb 2025 14:49:39 +1100 Subject: [PATCH] SES-3317 invalid phrase key for dual promotion --- .../libsession/messaging/utilities/UpdateMessageBuilder.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libsession/src/main/java/org/session/libsession/messaging/utilities/UpdateMessageBuilder.kt b/libsession/src/main/java/org/session/libsession/messaging/utilities/UpdateMessageBuilder.kt index 0045c31c52..7a3ab83881 100644 --- a/libsession/src/main/java/org/session/libsession/messaging/utilities/UpdateMessageBuilder.kt +++ b/libsession/src/main/java/org/session/libsession/messaging/utilities/UpdateMessageBuilder.kt @@ -237,7 +237,7 @@ object UpdateMessageBuilder { .format() number == 2 && containsUser -> Phrase.from(context, R.string.groupPromotedYouTwo) - .put(OTHER_NAME_KEY, getGroupMemberName(updateData.sessionIds.first{ it != userPublicKey }, groupV2Id)) + .put(NAME_KEY, getGroupMemberName(updateData.sessionIds.first{ it != userPublicKey }, groupV2Id)) .format() number == 2 -> Phrase.from(context, R.string.adminTwoPromotedToAdmin)