mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-30 22:16:14 +00:00
Implement reactions selector above the menu.
This commit is contained in:
@@ -542,8 +542,8 @@ int UniqueReactionsLimit(not_null<PeerData*> peer) {
|
||||
}
|
||||
|
||||
rpl::producer<int> UniqueReactionsLimitValue(
|
||||
not_null<Main::Session*> session) {
|
||||
const auto config = &session->account().appConfig();
|
||||
not_null<PeerData*> peer) {
|
||||
const auto config = &peer->session().account().appConfig();
|
||||
return config->value(
|
||||
) | rpl::map([=] {
|
||||
return UniqueReactionsLimit(config);
|
||||
|
Reference in New Issue
Block a user