mirror of
https://github.com/nextcloud/talk-android
synced 2025-06-19 11:39:42 +01:00
fix typo
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
This commit is contained in:
parent
d450ae7897
commit
89aacbae95
@ -335,16 +335,16 @@ class WebSocketInstance internal constructor(
|
|||||||
webSocket.send(messagesQueue[i])
|
webSocket.send(messagesQueue[i])
|
||||||
}
|
}
|
||||||
messagesQueue = ArrayList()
|
messagesQueue = ArrayList()
|
||||||
val helloHasHap = HashMap<String, String?>()
|
val helloHashMap = HashMap<String, String?>()
|
||||||
if (!TextUtils.isEmpty(oldResumeId)) {
|
if (!TextUtils.isEmpty(oldResumeId)) {
|
||||||
helloHasHap["oldResumeId"] = oldResumeId
|
helloHashMap["oldResumeId"] = oldResumeId
|
||||||
} else {
|
} else {
|
||||||
currentRoomToken = ""
|
currentRoomToken = ""
|
||||||
}
|
}
|
||||||
if (!TextUtils.isEmpty(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() {
|
private fun sendRoomJoinedEvent() {
|
||||||
|
Loading…
Reference in New Issue
Block a user