mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
Ignore actions from other chats in HistoryWidget.
This should fix an issue that was noticed in #5701.
This commit is contained in:
@@ -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(),
|
||||
|
Reference in New Issue
Block a user