2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 22:46:10 +00:00

Added initial api support of reactions limit in channels and groups.

This commit is contained in:
23rd
2024-04-12 14:22:57 +03:00
committed by John Preston
parent 5543927042
commit 225c0e0af3
5 changed files with 50 additions and 12 deletions

View File

@@ -104,7 +104,9 @@ bool operator<(
bool operator==(
const AllowedReactions &a,
const AllowedReactions &b) {
return (a.type == b.type) && (a.some == b.some);
return (a.type == b.type)
&& (a.some == b.some)
&& (a.maxCount == b.maxCount);
}
AllowedReactions Parse(const MTPChatReactions &value) {