Skip to content

Commit

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

Please sign in to comment.