2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-09-05 00:55:12 +00:00

Added second type of info layer for statistics.

This commit is contained in:
23rd
2023-10-08 23:17:45 +03:00
committed by John Preston
parent 3da733520d
commit 01821cd779
9 changed files with 85 additions and 11 deletions

View File

@@ -250,7 +250,10 @@ Dialogs::RowDescriptor WrapWidget::activeChat() const {
storiesPeer->owner().history(storiesPeer),
FullMsgId())
: Dialogs::RowDescriptor();
} else if (key().settingsSelf() || key().isDownloads() || key().poll()) {
} else if (key().settingsSelf()
|| key().isDownloads()
|| key().poll()
|| key().statisticsPeer()) {
return Dialogs::RowDescriptor();
}
Unexpected("Owner in WrapWidget::activeChat().");