core: prohibit forwarding file if it's not found (#4047)

This commit is contained in:
spaced4ndy
2024-04-19 11:31:44 +04:00
committed by GitHub
parent 505c6cb062
commit 648884044f
3 changed files with 28 additions and 25 deletions
+1
View File
@@ -1968,6 +1968,7 @@ viewChatError logLevel testView = \case
CEInlineFileProhibited _ -> ["A small file sent without acceptance - you can enable receiving such files with -f option."]
CEInvalidQuote -> ["cannot reply to this message"]
CEInvalidForward -> ["cannot forward this message"]
CEForwardNoFile -> ["cannot forward this message, file not found"]
CEInvalidChatItemUpdate -> ["cannot update this item"]
CEInvalidChatItemDelete -> ["cannot delete this item"]
CEHasCurrentCall -> ["call already in progress"]