Fix changing forward recipient

This commit is contained in:
Eduard Kuzmenko 2022-04-03 17:48:38 +03:00
parent 67ad19d33f
commit fd5e31c5e0

View File

@ -2363,11 +2363,12 @@ export default class ChatInput {
if(this.helperWaitingForward) return;
this.helperWaitingForward = true;
const forwarding = copy(this.forwarding);
const helperFunc = this.helperFunc;
this.clearHelper();
this.updateSendBtn();
let selected = false;
const popup = new PopupForward(copy(this.forwarding), () => {
const popup = new PopupForward(forwarding, () => {
selected = true;
});