mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Don't check contact status for bots / service.
This commit is contained in:
@@ -345,7 +345,9 @@ void Stories::parseAndApply(const MTPUserStories &stories) {
|
||||
}
|
||||
sort(list);
|
||||
};
|
||||
if (result.user->isContact()) {
|
||||
if (result.user->isBot()
|
||||
|| result.user->isServiceUser()
|
||||
|| result.user->isContact()) {
|
||||
const auto hidden = result.user->hasStoriesHidden();
|
||||
using List = StorySourcesList;
|
||||
add(hidden ? List::Hidden : List::NotHidden);
|
||||
|
Reference in New Issue
Block a user