From dbe3834dc174550dfc51ac7c879da4addd6a3aa9 Mon Sep 17 00:00:00 2001 From: Andrew Date: Mon, 22 Apr 2024 11:58:27 +0930 Subject: [PATCH] Fix expiry update message for groups --- .../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 ae4c47e10a..5533b236ed 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 @@ -81,7 +81,7 @@ object UpdateMessageBuilder { else context.getString(if (isGroup) R.string.MessageRecord_s_turned_off_disappearing_messages else R.string.MessageRecord_s_turned_off_disappearing_messages_1_on_1, senderName) } else { val time = ExpirationUtil.getExpirationDisplayValue(context, duration.toInt()) - val action = context.getExpirationTypeDisplayValue(timestamp == expireStarted) + val action = context.getExpirationTypeDisplayValue(timestamp >= expireStarted) if (isOutgoing) context.getString( if (isGroup) R.string.MessageRecord_you_set_messages_to_disappear_s_after_s else R.string.MessageRecord_you_set_messages_to_disappear_s_after_s_1_on_1, time,