mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-19 07:37:11 +02:00
Ignore actions from other chats in HistoryWidget.
This should fix an issue that was noticed in #5701.
This commit is contained in:
parent
c9716f3c72
commit
bdfb9b4143
1 changed files with 3 additions and 1 deletions
|
@ -510,7 +510,9 @@ HistoryWidget::HistoryWidget(
|
|||
}, _topBar->lifetime());
|
||||
|
||||
Auth().api().sendActions(
|
||||
) | rpl::start_with_next([this](const ApiWrap::SendOptions &options) {
|
||||
) | rpl::filter([=](const ApiWrap::SendOptions &options) {
|
||||
return (options.history == _history);
|
||||
}) | rpl::start_with_next([=](const ApiWrap::SendOptions &options) {
|
||||
fastShowAtEnd(options.history);
|
||||
const auto lastKeyboardUsed = lastForceReplyReplied(FullMsgId(
|
||||
options.history->channelId(),
|
||||
|
|
Loading…
Add table
Reference in a new issue