1
0
mirror of https://github.com/NekoX-Dev/NekoX.git synced 2024-11-25 16:49:32 +01:00

fix: forward header of stickers

This commit is contained in:
luvletter2333 2023-10-06 04:05:26 +08:00
parent 5acf19fb05
commit da874719ae
No known key found for this signature in database
GPG Key ID: 9EB7723F3A0ACF92

View File

@ -6164,7 +6164,7 @@ public class ChatMessageCell extends BaseCell implements SeekBar.SeekBarDelegate
}
}
} else {
drawForwardedName = messageObject.messageOwner.fwd_from != null && !(messageObject.isAnyKindOfSticker() || messageObject.isDice());
drawForwardedName = messageObject.messageOwner.fwd_from != null && !(messageObject.isAnyKindOfSticker() && messageObject.isDice());
if (!messageObject.isAnyKindOfSticker() && messageObject.type != MessageObject.TYPE_ROUND_VIDEO) {
drawName = (messageObject.isFromGroup() && messageObject.isSupergroup() || messageObject.isImportedForward() && messageObject.messageOwner.fwd_from.from_id == null) && (currentPosition == null || (currentPosition.flags & MessageObject.POSITION_FLAG_TOP) != 0);
}