Fix build with Xcode.

This commit is contained in:
John Preston
2025-10-28 14:55:09 +04:00
parent 68dab26be5
commit 1017d4cda3
2 changed files with 4 additions and 4 deletions

View File

@@ -1225,7 +1225,7 @@ bool GroupCall::rtmp() const {
bool GroupCall::conference() const {
if (const auto raw = _sharedCall.get()) {
return (raw->origin() == Data::GroupCallOrigin::Conference);
} else if (const auto info = _startConferenceInfo.get()) {
} else if (_startConferenceInfo.get()) {
return true;
}
return false;
@@ -1241,7 +1241,7 @@ bool GroupCall::videoStream() const {
Data::GroupCallOrigin GroupCall::origin() const {
if (const auto raw = _sharedCall.get()) {
return raw->origin();
} else if (const auto info = _startConferenceInfo.get()) {
} else if (_startConferenceInfo.get()) {
return Data::GroupCallOrigin::Conference;
}
return Data::GroupCallOrigin::Group;

View File

@@ -26,9 +26,9 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
#include "lang/lang_keys.h"
#include "styles/style_calls.h"
#include <QtGui/QOpenGLShader>
#include <QOpenGLShader>
#include <QtGui/QtEvents>
#include <QtWidgets/QOpenGLWidget>
#include <QOpenGLWidget>
namespace Calls::Group {
namespace {