Эх сурвалжийг харах

fix typo

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
Marcel Hibbe 1 жил өмнө
parent
commit
89aacbae95

+ 4 - 4
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<String, String?>()
+        val helloHashMap = HashMap<String, String?>()
         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() {