mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 14:17:12 +02:00
Fix one more unused variable warning.
This commit is contained in:
parent
057e8ce391
commit
510e1e9cdf
1 changed files with 0 additions and 3 deletions
|
@ -18,7 +18,6 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
|||
#include "ui/chat/requests_bar.h"
|
||||
#include "ui/chat/group_call_userpics.h"
|
||||
#include "info/profile/info_profile_values.h"
|
||||
#include "apiwrap.h"
|
||||
|
||||
namespace HistoryView {
|
||||
|
||||
|
@ -103,8 +102,6 @@ rpl::producer<Ui::RequestsBarContent> RequestsBarContentByPeer(
|
|||
};
|
||||
|
||||
return [=](auto consumer) {
|
||||
const auto api = &peer->session().api();
|
||||
|
||||
auto lifetime = rpl::lifetime();
|
||||
auto state = lifetime.make_state<State>(peer);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue