mirror of
https://github.com/nextcloud/talk-android.git
synced 2024-11-26 23:25:20 +03:00
remove duplicate null check
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
This commit is contained in:
parent
1490ff3b50
commit
a36ef3e4a9
1 changed files with 4 additions and 6 deletions
|
@ -1143,12 +1143,10 @@ public class CallController extends BaseController {
|
|||
List<IceServer> stunServers =
|
||||
signalingSettingsOverall.getOcs().getSettings().getStunServers();
|
||||
if (apiVersion == ApiUtils.APIv3) {
|
||||
if (signalingSettingsOverall.getOcs().getSettings().getStunServers() != null) {
|
||||
for (IceServer stunServer : stunServers) {
|
||||
if (stunServer.getUrls() != null) {
|
||||
for (String url : stunServer.getUrls()) {
|
||||
iceServers.add(new PeerConnection.IceServer(url));
|
||||
}
|
||||
for (IceServer stunServer : stunServers) {
|
||||
if (stunServer.getUrls() != null) {
|
||||
for (String url : stunServer.getUrls()) {
|
||||
iceServers.add(new PeerConnection.IceServer(url));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue