mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Don't use MTP for PeerData::isSelf.
This commit is contained in:
@@ -164,9 +164,7 @@ public:
|
||||
[[nodiscard]] bool isChannel() const {
|
||||
return peerIsChannel(id);
|
||||
}
|
||||
[[nodiscard]] bool isSelf() const {
|
||||
return (input.type() == mtpc_inputPeerSelf);
|
||||
}
|
||||
[[nodiscard]] bool isSelf() const;
|
||||
[[nodiscard]] bool isVerified() const;
|
||||
[[nodiscard]] bool isScam() const;
|
||||
[[nodiscard]] bool isFake() const;
|
||||
|
Reference in New Issue
Block a user