mirror of
https://github.com/nextcloud/talk-android.git
synced 2024-11-27 17:08:34 +03:00
Simplify assignment
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
This commit is contained in:
parent
b07aaee140
commit
3efcbe2a39
1 changed files with 5 additions and 7 deletions
|
@ -2151,12 +2151,10 @@ class ChatController(args: Bundle) :
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
webSocketInstance =
|
webSocketInstance = WebSocketConnectionHelper.getMagicWebSocketInstanceForUserId(conversationUser.id!!)
|
||||||
if (WebSocketConnectionHelper.getMagicWebSocketInstanceForUserId(conversationUser.id!!) != null) {
|
|
||||||
WebSocketConnectionHelper.getMagicWebSocketInstanceForUserId(conversationUser.id!!)
|
if (webSocketInstance == null) {
|
||||||
} else {
|
|
||||||
Log.d(TAG, "magicWebSocketInstance became null")
|
Log.d(TAG, "magicWebSocketInstance became null")
|
||||||
null
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue