mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
@@ -872,9 +872,10 @@ bool Controller::changeShown(Data::Story *story) {
|
||||
if (_shown == id && !sessionChanged) {
|
||||
return false;
|
||||
}
|
||||
if (const auto now = this->story()) {
|
||||
now->owner().stories().unregisterPolling(
|
||||
now,
|
||||
if (_shown) {
|
||||
Assert(_session != nullptr);
|
||||
_session->data().stories().unregisterPolling(
|
||||
_shown,
|
||||
Data::Stories::Polling::Viewer);
|
||||
}
|
||||
if (sessionChanged) {
|
||||
|
Reference in New Issue
Block a user