Fix crash in sending a reaction.

This commit is contained in:
John Preston 2022-01-05 13:37:01 +03:00
parent 072e346324
commit 8788692fb3

View file

@ -1677,8 +1677,6 @@ void HistoryInner::mouseActionFinish(
? pressedItemView->data()->fullId()
: FullMsgId();
const auto weak = base::make_weak(_controller.get());
const auto history = pressedItemView->data()->history();
const auto delegate = history->delegateMixin()->delegate();
ActivateClickHandler(window(), activated, {
button,
QVariant::fromValue(ClickHandlerContext{