summary refs log tree commit diff
path: root/src/CallManager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/CallManager.cpp')
-rw-r--r--src/CallManager.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/CallManager.cpp b/src/CallManager.cpp

index de04ed3b..58d75c2f 100644 --- a/src/CallManager.cpp +++ b/src/CallManager.cpp
@@ -405,15 +405,6 @@ CallManager::screenShareSupported() return std::getenv("DISPLAY") && !std::getenv("WAYLAND_DISPLAY"); } -bool -CallManager::haveVideo() const -{ - return callType() == CallType::VIDEO || - (callType() == CallType::SCREEN && - (ChatPage::instance()->userSettings()->screenShareRemoteVideo() && - !session_.isRemoteVideoRecvOnly())); -} - QStringList CallManager::devices(bool isVideo) const {