Support default forum topic icons.

This commit is contained in:
John Preston
2022-10-21 21:13:13 +04:00
parent 5314833c82
commit 0cba9e4a22
13 changed files with 187 additions and 18 deletions
+1 -1
View File
@@ -571,7 +571,7 @@ bool WhoReadExists(not_null<HistoryItem*> item) {
const auto peer = history->peer;
const auto chat = peer->asChat();
const auto megagroup = peer->asMegagroup();
if (!chat && !megagroup) {
if ((!chat && !megagroup) || peer->isForum()) {
return false;
}
const auto &appConfig = peer->session().account().appConfig();