rpl::producer<bool> AmInChannelValue( not_null<ChannelData*> channel) { return Notify::PeerUpdateValue( channel, Notify::PeerUpdate::Flag::ChannelAmIn ) | rpl::map([channel] { return channel->amIn(); }); }