Improve Show Message ID

This commit is contained in:
immat0x1
2022-05-19 08:51:47 +05:00
parent 0664975430
commit cb8953edbf

View File

@@ -10287,8 +10287,8 @@ public class ChatMessageCell extends BaseCell implements SeekBar.SeekBarDelegate
} else {
timeString = LocaleController.getInstance().formatterDay.format((long) (messageObject.messageOwner.date) * 1000);
}
if (ExteraConfig.showMessageID && messageObject.messageOwner != null) {
timeString = timeString + " (" + messageObject.messageOwner.id + ")";
if (ExteraConfig.showMessageID && messageObject.messageOwner != null && (isChat || isMegagroup || ChatObject.isChannel(currentChat))) {
timeString = timeString + " | " + messageObject.messageOwner.id;
}
if (signString != null) {
if (messageObject.messageOwner.fwd_from != null && messageObject.messageOwner.fwd_from.imported) {