mirror of
https://github.com/nextcloud/talk-android.git
synced 2024-11-21 20:45:29 +03:00
Fix nick
Signed-off-by: Mario Danic <mario@lovelyhq.com>
This commit is contained in:
parent
38285cdea2
commit
1811d9bdfa
1 changed files with 6 additions and 2 deletions
|
@ -52,7 +52,7 @@ public class MagicPeerConnectionWrapper {
|
|||
private List<PeerConnection.IceServer> iceServers;
|
||||
private String sessionId;
|
||||
private String localSession;
|
||||
private String nick = "";
|
||||
private String nick;
|
||||
private MediaConstraints mediaConstraints;
|
||||
private DataChannel magicDataChannel;
|
||||
private MagicSdpObserver magicSdpObserver;
|
||||
|
@ -133,7 +133,11 @@ public class MagicPeerConnectionWrapper {
|
|||
}
|
||||
|
||||
public String getNick() {
|
||||
return nick;
|
||||
if (nick != null) {
|
||||
return nick;
|
||||
} else {
|
||||
return "";
|
||||
}
|
||||
}
|
||||
|
||||
public void setNick(String nick) {
|
||||
|
|
Loading…
Reference in a new issue