Skip to content

Commit

Permalink
fix: cannot view messages which you are not in
Browse files Browse the repository at this point in the history
This reverts commit 32c1e09.
  • Loading branch information
NextAlone committed Feb 11, 2025
1 parent 68efb3a commit 5d2719c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38467,7 +38467,7 @@ public void didPressReplyMessage(ChatMessageCell cell, int id, float x, float y,
if (did < 0) {
chat = getMessagesController().getChat(-did);
}
if (did == Long.MAX_VALUE || did != dialog_id && chat != null && (chat.left || chat.kicked)) {
if (did == Long.MAX_VALUE) {
if (messageObject != null && messageObject.messageOwner != null && messageObject.messageOwner.reply_to != null && !TextUtils.isEmpty(messageObject.messageOwner.reply_to.quote_text) && messageObject.replyTextEllipsized && !messageObject.replyTextRevealed && !messageObject.shouldDrawWithoutBackground()) {
messageObject.replyTextRevealed = true;
updateMessageAnimated(messageObject, true);
Expand Down

0 comments on commit 5d2719c

Please sign in to comment.