mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-25 15:04:57 +00:00
Added recent voters to media view.
This commit is contained in:
@@ -4916,6 +4916,7 @@ void Session::sendWebPageGamePollTodoListNotifications() {
|
||||
}
|
||||
}
|
||||
for (const auto &poll : base::take(_pollsUpdated)) {
|
||||
_pollUpdates.fire_copy(poll);
|
||||
if (const auto i = _pollViews.find(poll); i != _pollViews.end()) {
|
||||
resize.insert(end(resize), begin(i->second), end(i->second));
|
||||
}
|
||||
@@ -4935,6 +4936,10 @@ rpl::producer<not_null<WebPageData*>> Session::webPageUpdates() const {
|
||||
return _webpageUpdates.events();
|
||||
}
|
||||
|
||||
rpl::producer<not_null<PollData*>> Session::pollUpdates() const {
|
||||
return _pollUpdates.events();
|
||||
}
|
||||
|
||||
void Session::channelDifferenceTooLong(not_null<ChannelData*> channel) {
|
||||
_channelDifferenceTooLong.fire_copy(channel);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user