Fixed clearing of inactive quick dialog actions.

This commit is contained in:
23rd 2025-04-12 09:14:58 +03:00 committed by John Preston
parent 423782fd2b
commit be8a836528

View file

@ -866,7 +866,7 @@ void InnerWidget::paintEvent(QPaintEvent *e) {
if (raw->finishedAt
&& (ms - raw->finishedAt
> st::defaultRippleAnimation.hideDuration)) {
_inactiveQuickActions.erase(it);
it = _inactiveQuickActions.erase(it);
} else {
if (raw->data.msgBareId == history->peer->id.value) {
context.quickActionContext = raw;