mirror of
https://github.com/oxen-io/session-android.git
synced 2025-10-26 05:20:16 +00:00
Fix conversation list safety number change snippet for groups
Fixes #5985 Closes #6655 // FREEBIE
This commit is contained in:
committed by
Moxie Marlinspike
parent
ec1a0547d6
commit
662fe826cb
@@ -103,7 +103,8 @@ public class ThreadRecord extends DisplayRecord {
|
||||
String time = ExpirationUtil.getExpirationDisplayValue(context, (int) (getExpiresIn() / 1000));
|
||||
return emphasisAdded(context.getString(R.string.ThreadRecord_disappearing_message_time_updated_to_s, time));
|
||||
} else if (SmsDatabase.Types.isIdentityUpdate(type)) {
|
||||
return emphasisAdded(context.getString(R.string.ThreadRecord_your_safety_number_with_s_has_changed, getRecipients().getPrimaryRecipient().toShortString()));
|
||||
if (getRecipients().isGroupRecipient()) return emphasisAdded(context.getString(R.string.ThreadRecord_safety_number_changed));
|
||||
else return emphasisAdded(context.getString(R.string.ThreadRecord_your_safety_number_with_s_has_changed, getRecipients().getPrimaryRecipient().toShortString()));
|
||||
} else {
|
||||
if (TextUtils.isEmpty(getBody().getBody())) {
|
||||
return new SpannableString(emphasisAdded(context.getString(R.string.ThreadRecord_media_message)));
|
||||
|
||||
Reference in New Issue
Block a user