mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-15 21:57:10 +02:00
Don't check contact status for bots / service.
This commit is contained in:
parent
cc27b6c5c5
commit
79e8b1dbca
1 changed files with 3 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue