2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 14:45:14 +00:00

Update API scheme on layer 145.

This commit is contained in:
John Preston
2022-08-22 12:15:34 +03:00
parent 33b266175d
commit f72092a261
25 changed files with 165 additions and 114 deletions

View File

@@ -417,8 +417,8 @@ public:
void setGroupCallDefaultJoinAs(PeerId peerId);
[[nodiscard]] PeerId groupCallDefaultJoinAs() const;
void setAllowedReactions(base::flat_set<QString> list);
[[nodiscard]] const base::flat_set<QString> &allowedReactions() const;
void setAllowedReactions(Data::AllowedReactions value);
[[nodiscard]] const Data::AllowedReactions &allowedReactions() const;
// Still public data members.
uint64 access = 0;
@@ -467,7 +467,7 @@ private:
QString _inviteLink;
std::optional<ChannelData*> _linkedChat;
base::flat_set<QString> _allowedReactions;
Data::AllowedReactions _allowedReactions;
std::unique_ptr<Data::GroupCall> _call;
PeerId _callDefaultJoinAs = 0;