mirror of
https://github.com/Qz3rK/tdesktop.git
synced 2026-07-03 14:15:08 +02:00
Move poll results to a Info-like layer.
This commit is contained in:
@@ -100,6 +100,13 @@ void SessionNavigation::showSettings(const SectionShow ¶ms) {
|
||||
showSettings(Settings::Type::Main, params);
|
||||
}
|
||||
|
||||
void SessionNavigation::showPollResults(
|
||||
not_null<PollData*> poll,
|
||||
FullMsgId contextId,
|
||||
const SectionShow ¶ms) {
|
||||
showSection(Info::Memento(poll, contextId), params);
|
||||
}
|
||||
|
||||
SessionController::SessionController(
|
||||
not_null<Main::Session*> session,
|
||||
not_null<Controller*> window)
|
||||
|
||||
Reference in New Issue
Block a user