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

Rename linked-chat to discussion-link.

This commit is contained in:
John Preston
2025-05-06 10:22:29 +04:00
parent 1d2f713673
commit f96f478470
17 changed files with 103 additions and 103 deletions

View File

@@ -409,9 +409,9 @@ public:
void setLocation(const MTPChannelLocation &data);
[[nodiscard]] const ChannelLocation *getLocation() const;
void setLinkedChat(ChannelData *linked);
[[nodiscard]] ChannelData *linkedChat() const;
[[nodiscard]] bool linkedChatKnown() const;
void setDiscussionLink(ChannelData *link);
[[nodiscard]] ChannelData *discussionLink() const;
[[nodiscard]] bool discussionLinkKnown() const;
void ptsInit(int32 pts) {
_ptsWaiter.init(pts);
@@ -570,7 +570,7 @@ private:
std::vector<Data::UnavailableReason> _unavailableReasons;
std::unique_ptr<InvitePeek> _invitePeek;
QString _inviteLink;
std::optional<ChannelData*> _linkedChat;
std::optional<ChannelData*> _discussionLink;
Data::AllowedReactions _allowedReactions;