Allow replying to protected messages from the message menu
Ric committed
- Author
- Ric · 61457974+dallo28@users.noreply.github.comOct 21, 2026 at 21:15
- Committer
- Ric · 61457974+dallo28@users.noreply.github.comOct 21, 2026 at 21:19
- Parents
- 0aae959806c5
Allow replying to protected messages from the message menu Tapping a message sent with protect_content (or any message with the noforwards flag) and choosing "Reply" did nothing. The OPTION_REPLY handler in ChatActivity.processSelectedOption() returned early for every noforwards message, while swipe-to-reply and the Reply button in the selection action bar already replied to the same messages. The check was meant for the "reply in another chat" flow, taken when the user cannot send messages in the current chat: quoting a protected message elsewhere would leak its content. Move the noforwards check into that branch so the in-chat reply opens the reply panel again. Protected messages still cannot be replied to in another chat: the menu does not offer Reply in channels the user cannot post to, the handler still returns in that branch, and the reply options sheet keeps hiding "Reply to another chat" for noforwards messages. Fixes https://bugs.telegram.org/c/65830
1 file changed+3−3