From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: alina sireneva <alina@tei.su>
Date: Sat, 16 May 2026 18:28:00 +0400
Subject: cycle forward mode by long-tapping the bar (similar to rmb in tdesktop)

---
 .../src/main/java/org/telegram/ui/ChatActivity.java       | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/TMessagesProj/src/main/java/org/telegram/ui/ChatActivity.java b/TMessagesProj/src/main/java/org/telegram/ui/ChatActivity.java
index 0000000..0000000 100644
--- a/TMessagesProj/src/main/java/org/telegram/ui/ChatActivity.java
+++ b/TMessagesProj/src/main/java/org/telegram/ui/ChatActivity.java
@@ -8215,6 +8215,8 @@ public class ChatActivity extends BaseFragment implements
                         scrollToMessageId(replyingMessageObject.getId(), 0, true, 0, true, 0);
                         return true;
                     }
+                } else if (fieldPanelShown == 3 && desu.inugram.helpers.chat.ChatHelper.cycleForwardModeOnBar(this)) {
+                    return true;
                 }
             }
             return false;
@@ -15300,11 +15302,9 @@ public class ChatActivity extends BaseFragment implements
                         text = LocaleController.formatPluralString("Stories", messageObjectsToForward.size());
                     }
                 }
-                replyNameTextView.setText(text);
+                replyNameTextView.setText(desu.inugram.helpers.chat.ChatHelper.forwardBarTitle(messagePreviewParams, text));
 
-                if (messagePreviewParams != null && messagePreviewParams.hideForwardSendersName) {
-                    replyObjectTextView.setText(LocaleController.getString(R.string.HiddenSendersNameDescription));
-                } else {
+                {
                     if ((type == -1 || type == MessageObject.TYPE_TEXT || type == MessageObject.TYPE_DATE || type == MessageObject.TYPE_ACTION_PHOTO || type == MessageObject.TYPE_EMOJIS) && (messageObjectsToForward.size() == 1 && messageObjectsToForward.get(0).messageText != null)) {
                         MessageObject messageObject = messageObjectsToForward.get(0);
                         CharSequence mess = new SpannableStringBuilder(messageObject.messageText.toString());
