mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Move updates handling MainWidget -> Api::Updates.
This commit is contained in:
@@ -46,7 +46,7 @@ void MegagroupInfo::setLocation(const ChannelLocation &location) {
|
||||
ChannelData::ChannelData(not_null<Data::Session*> owner, PeerId id)
|
||||
: PeerData(owner, id)
|
||||
, inputChannel(MTP_inputChannel(MTP_int(bareId()), MTP_long(0)))
|
||||
, _ptsWaiter(&owner->session()) {
|
||||
, _ptsWaiter(&owner->session().updates()) {
|
||||
Data::PeerFlagValue(
|
||||
this,
|
||||
MTPDchannel::Flag::f_megagroup
|
||||
|
Reference in New Issue
Block a user