Fix build with Xcode.
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user