diff --git a/app/src/main/java/com/nextcloud/talk/webrtc/WebSocketInstance.kt b/app/src/main/java/com/nextcloud/talk/webrtc/WebSocketInstance.kt index 3911b8209..17b1aabe1 100644 --- a/app/src/main/java/com/nextcloud/talk/webrtc/WebSocketInstance.kt +++ b/app/src/main/java/com/nextcloud/talk/webrtc/WebSocketInstance.kt @@ -335,16 +335,16 @@ class WebSocketInstance internal constructor( webSocket.send(messagesQueue[i]) } messagesQueue = ArrayList() - val helloHasHap = HashMap() + val helloHashMap = HashMap() if (!TextUtils.isEmpty(oldResumeId)) { - helloHasHap["oldResumeId"] = oldResumeId + helloHashMap["oldResumeId"] = oldResumeId } else { currentRoomToken = "" } if (!TextUtils.isEmpty(currentRoomToken)) { - helloHasHap[Globals.ROOM_TOKEN] = currentRoomToken + helloHashMap[Globals.ROOM_TOKEN] = currentRoomToken } - eventBus!!.post(WebSocketCommunicationEvent("hello", helloHasHap)) + eventBus!!.post(WebSocketCommunicationEvent("hello", helloHashMap)) } private fun sendRoomJoinedEvent() {