2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 14:38:15 +00:00

Replaced args for Calls::Instance::startOrJoinGroupCall with struct.

This commit is contained in:
23rd
2022-02-26 06:53:29 +03:00
parent f2f4f9b24b
commit a3d00b1953
7 changed files with 36 additions and 27 deletions

View File

@@ -36,6 +36,10 @@ namespace Settings {
enum class Type;
} // namespace Settings
namespace Calls {
struct StartGroupCallArgs;
} // namespace Calls
namespace Passport {
struct FormRequest;
class FormController;
@@ -339,15 +343,9 @@ public:
void showPeer(not_null<PeerData*> peer, MsgId msgId = ShowAtUnreadMsgId);
enum class GroupCallJoinConfirm {
None,
IfNowInAnother,
Always,
};
void startOrJoinGroupCall(
not_null<PeerData*> peer,
QString joinHash = QString(),
GroupCallJoinConfirm confirm = GroupCallJoinConfirm::IfNowInAnother);
const Calls::StartGroupCallArgs &args);
void showSection(
std::shared_ptr<SectionMemento> memento,