Able to forward with caption (#3463)

Co-authored-by: alechkos <93551621+alechkos@users.noreply.github.com>
Co-authored-by: Shir Serlui <70711723+shirser121@users.noreply.github.com>
This commit is contained in:
Kang 2025-05-30 20:56:35 +08:00 • committed by GitHub
commit e62f15edf3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -8,7 +8,7 @@ exports.LoadUtils = () => {
let chat = window.Store.Chat.get(chatId); let chat = window.Store.Chat.get(chatId);
if (window.compareWwebVersions(window.Debug.VERSION, '>', '2.3000.0')) { if (window.compareWwebVersions(window.Debug.VERSION, '>', '2.3000.0')) {
return window.Store.ForwardUtils.forwardMessagesToChats([msg], [chat], false); return window.Store.ForwardUtils.forwardMessagesToChats([msg], [chat], true);
} else { } else {
return chat.forwardMessages([msg]); return chat.forwardMessages([msg]);
} }