mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Proof-of-concept custom verify badges.
This commit is contained in:
@@ -376,6 +376,11 @@ public:
|
||||
[[nodiscard]] bool canRestrictParticipant(
|
||||
not_null<PeerData*> participant) const;
|
||||
|
||||
void setVerifyDetails(Ui::VerifyDetails details);
|
||||
[[nodiscard]] Ui::VerifyDetails *verifyDetails() const {
|
||||
return _verifyDetails.get();
|
||||
}
|
||||
|
||||
void setInviteLink(const QString &newInviteLink);
|
||||
[[nodiscard]] QString inviteLink() const {
|
||||
return _inviteLink;
|
||||
@@ -546,6 +551,8 @@ private:
|
||||
std::unique_ptr<Data::GroupCall> _call;
|
||||
PeerId _callDefaultJoinAs = 0;
|
||||
|
||||
std::unique_ptr<Ui::VerifyDetails> _verifyDetails;
|
||||
|
||||
};
|
||||
|
||||
namespace Data {
|
||||
|
Reference in New Issue
Block a user