rpl::producer<int> CommonGroupsCountValue( not_null<UserData*> user) { return Notify::PeerUpdateValue( user, Notify::PeerUpdate::Flag::UserCommonChatsChanged ) | rpl::map([user] { return user->commonChatsCount(); }); }