mirror of
https://github.com/nextcloud/talk-android
synced 2025-03-08 23:19:55 +00:00
Simplify assignment
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
This commit is contained in:
parent
b07aaee140
commit
3efcbe2a39
@ -2151,13 +2151,11 @@ 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
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
fun pullChatMessages(lookIntoFuture: Int, setReadMarker: Int = 1, xChatLastCommonRead: Int? = null) {
|
fun pullChatMessages(lookIntoFuture: Int, setReadMarker: Int = 1, xChatLastCommonRead: Int? = null) {
|
||||||
|
Loading…
Reference in New Issue
Block a user