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 authored Oct 29, 2024
1 parent cc06e86 commit 33a25d2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2671,7 +2671,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 33a25d2

Please sign in to comment.