2
0
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:
John Preston
2024-12-10 20:59:32 +04:00
parent 35e40be550
commit 6f18b9b691
25 changed files with 437 additions and 195 deletions

View File

@@ -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 {