mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 14:45:14 +00:00
Allow choosing allowed reactions in groups / channels.
This commit is contained in:
@@ -762,7 +762,10 @@ PeerId ChannelData::groupCallDefaultJoinAs() const {
|
||||
}
|
||||
|
||||
void ChannelData::setAllowedReactions(std::vector<QString> list) {
|
||||
_allowedReactions = std::move(list);
|
||||
if (_allowedReactions != list) {
|
||||
_allowedReactions = std::move(list);
|
||||
session().changes().peerUpdated(this, UpdateFlag::Reactions);
|
||||
}
|
||||
}
|
||||
|
||||
const std::vector<QString> &ChannelData::allowedReactions() const {
|
||||
|
Reference in New Issue
Block a user