mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
Allow paid reaction even after limit is reached.
This commit is contained in:
@@ -966,7 +966,8 @@ void ChannelData::setAllowedReactions(Data::AllowedReactions value) {
|
||||
if (_allowedReactions != value) {
|
||||
const auto enabled = [](const Data::AllowedReactions &allowed) {
|
||||
return (allowed.type != Data::AllowedReactionsType::Some)
|
||||
|| !allowed.some.empty();
|
||||
|| !allowed.some.empty()
|
||||
|| allowed.paidEnabled;
|
||||
};
|
||||
const auto was = enabled(_allowedReactions);
|
||||
_allowedReactions = std::move(value);
|
||||
|
Reference in New Issue
Block a user