2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 14:38:15 +00:00

Return native verify icon to the right.

This commit is contained in:
John Preston
2024-12-31 17:18:59 +04:00
parent c23b533704
commit a7321c9beb
33 changed files with 167 additions and 233 deletions

View File

@@ -23,7 +23,7 @@ enum class ChatRestriction;
namespace Ui {
class EmptyUserpic;
struct VerifyDetails;
struct BotVerifyDetails;
} // namespace Ui
namespace Main {
@@ -234,8 +234,7 @@ public:
[[nodiscard]] bool hasStoriesHidden() const;
void setStoriesHidden(bool hidden);
[[nodiscard]] Ui::VerifyDetails *verifyDetails() const;
[[nodiscard]] bool verifiedByTelegram() const;
[[nodiscard]] Ui::BotVerifyDetails *botVerifyDetails() const;
[[nodiscard]] bool isNotificationsUser() const {
return (id == peerFromUser(333000))