mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-30 22:25:12 +00:00
Use available reactions list from the server.
This commit is contained in:
@@ -410,6 +410,9 @@ public:
|
||||
void setGroupCallDefaultJoinAs(PeerId peerId);
|
||||
[[nodiscard]] PeerId groupCallDefaultJoinAs() const;
|
||||
|
||||
void setAllowedReactions(std::vector<QString> list);
|
||||
[[nodiscard]] const std::vector<QString> &allowedReactions() const;
|
||||
|
||||
// Still public data members.
|
||||
uint64 access = 0;
|
||||
|
||||
@@ -457,6 +460,8 @@ private:
|
||||
QString _inviteLink;
|
||||
std::optional<ChannelData*> _linkedChat;
|
||||
|
||||
std::vector<QString> _allowedReactions;
|
||||
|
||||
std::unique_ptr<Data::GroupCall> _call;
|
||||
PeerId _callDefaultJoinAs = 0;
|
||||
|
||||
|
Reference in New Issue
Block a user