mirror of
https://github.com/nextcloud/talk-android
synced 2025-06-21 20:49:36 +01:00
Set currentConversation when joinRoom succeeds
currentConversation should have already been set, but it makes sense to set it with the most current data of this case. Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
This commit is contained in:
parent
1f8859e1a6
commit
f3a057b0e4
@ -1994,6 +1994,8 @@ class ChatController(args: Bundle) :
|
||||
Log.d(TAG, "joinRoomWithPassword - joinRoom - got response: $startNanoTime")
|
||||
|
||||
val conversation = roomOverall.ocs!!.data!!
|
||||
currentConversation = conversation
|
||||
|
||||
sessionIdAfterRoomJoined = conversation.sessionId
|
||||
ApplicationWideCurrentRoomHolder.getInstance().session = conversation.sessionId
|
||||
ApplicationWideCurrentRoomHolder.getInstance().currentRoomId = conversation.roomId
|
||||
|
Loading…
Reference in New Issue
Block a user