| 1992 | } |
| 1993 | |
| 1994 | Data::GroupCall *PeerData::groupCall() const { |
| 1995 | if (const auto chat = asChat()) { |
| 1996 | return chat->groupCall(); |
| 1997 | } else if (const auto group = asChannel()) { |
| 1998 | return group->groupCall(); |
| 1999 | } |
| 2000 | return nullptr; |
| 2001 | } |
| 2002 | |
| 2003 | PeerId PeerData::groupCallDefaultJoinAs() const { |
| 2004 | if (const auto chat = asChat()) { |
no outgoing calls
no test coverage detected