mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-02 08:23:00 +01:00
Update admin delete string.
This commit is contained in:
committed by
Greyson Parrelli
parent
3b18b5d2b7
commit
0acb5ac7cd
@@ -1167,7 +1167,7 @@ public final class ConversationItem extends RelativeLayout implements BindableCo
|
||||
boolean isAdminDelete = !message.getDeletedByRecipient().equals(message.getMessageRecord().getFromRecipient());
|
||||
CharSequence body;
|
||||
|
||||
if (!isAdminDelete && messageRecord.isOutgoing()) {
|
||||
if (message.getDeletedByRecipient().equals(Recipient.self())) {
|
||||
body = formatDeletedText(context.getString(R.string.ConversationItem_you_deleted_this_message));
|
||||
} else if (!isAdminDelete) {
|
||||
body = formatDeletedText(context.getString(R.string.ConversationItem_s_deleted_this_message, message.getDeletedByRecipient().getDisplayName(context)));
|
||||
|
||||
Reference in New Issue
Block a user