Skip to content

Commit

Permalink
fix: load action log because of new feat
Browse files Browse the repository at this point in the history
  • Loading branch information
omg-xtao committed Oct 29, 2024
1 parent b206feb commit bca77d4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2654,7 +2654,7 @@ public MessageObject(int accountNum, TLRPC.TL_channelAdminLogEvent event, ArrayL
} else {
changedCaption = false;
}
if (getMedia(newMessage).getClass() != oldMessage.media.getClass() ||
if (oldMessage.media == null || getMedia(newMessage).getClass() != oldMessage.media.getClass() ||
getMedia(newMessage).photo != null && oldMessage.media.photo != null && getMedia(newMessage).photo.id != oldMessage.media.photo.id ||
getMedia(newMessage).document != null && oldMessage.media.document != null && getMedia(newMessage).document.id != oldMessage.media.document.id) {
changedMedia = true;
Expand Down

0 comments on commit bca77d4

Please sign in to comment.