mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Add top reactors to paid reaction details.
This commit is contained in:
@@ -2042,6 +2042,11 @@ auto MessageReactions::recent() const
|
||||
return _recent;
|
||||
}
|
||||
|
||||
auto MessageReactions::topPaid() const -> const std::vector<TopPaid> & {
|
||||
static const auto kEmpty = std::vector<TopPaid>();
|
||||
return _paid ? _paid->top : kEmpty;
|
||||
}
|
||||
|
||||
bool MessageReactions::empty() const {
|
||||
return _list.empty();
|
||||
}
|
||||
|
Reference in New Issue
Block a user