Skip to content

Commit

Permalink
fix: show reply origin for effectively public chat
Browse files Browse the repository at this point in the history
  • Loading branch information
cinit authored and NextAlone committed Apr 9, 2024
1 parent 70550a9 commit 5c312b1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35703,7 +35703,7 @@ public void didPressReplyMessage(ChatMessageCell cell, int id) {
if (did < 0) {
chat = getMessagesController().getChat(-did);
}
if (did == Long.MAX_VALUE) {
if (did == Long.MAX_VALUE || did != dialog_id && chat != null && (chat.left || chat.kicked)) {
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 5c312b1

Please sign in to comment.