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:
parent
385e3cc59b
commit
e62f15edf3
1 changed files with 1 additions and 1 deletions
|
|
@ -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]);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue