Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
optimumpr committed Jul 12, 2024
1 parent 6eab30f commit 148fe92
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -6618,7 +6618,6 @@ public boolean needDrawShareButton() {
if (getMedia(messageOwner) instanceof TLRPC.TL_messageMediaEmpty || getMedia(messageOwner) == null || getMedia(messageOwner) instanceof TLRPC.TL_messageMediaWebPage && !(getMedia(messageOwner).webpage instanceof TLRPC.TL_webPage)) {
return false;
}
TLRPC.User user = MessagesController.getInstance(currentAccount).getUser(messageOwner.from_id.user_id);
if (user != null && !DialogObject.isEncryptedDialog(getDialogId())
// && user.bot
&& !hasExtendedMedia()
Expand Down

0 comments on commit 148fe92

Please sign in to comment.