|
@@ -332,6 +332,8 @@ class ChatActivity :
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ private lateinit var messageInputFragment: MessageInputFragment
|
|
|
|
+
|
|
val typingParticipants = HashMap<String, TypingParticipant>()
|
|
val typingParticipants = HashMap<String, TypingParticipant>()
|
|
|
|
|
|
var callStarted = false
|
|
var callStarted = false
|
|
@@ -398,6 +400,8 @@ class ChatActivity :
|
|
setContentView(binding.root)
|
|
setContentView(binding.root)
|
|
setupSystemColors()
|
|
setupSystemColors()
|
|
|
|
|
|
|
|
+ messageInputFragment = MessageInputFragment()
|
|
|
|
+
|
|
conversationUser = currentUserProvider.currentUser.blockingGet()
|
|
conversationUser = currentUserProvider.currentUser.blockingGet()
|
|
|
|
|
|
handleIntent(intent)
|
|
handleIntent(intent)
|
|
@@ -579,7 +583,7 @@ class ChatActivity :
|
|
|
|
|
|
supportFragmentManager.commit {
|
|
supportFragmentManager.commit {
|
|
setReorderingAllowed(true) // optimizes out redundant replace operations
|
|
setReorderingAllowed(true) // optimizes out redundant replace operations
|
|
- replace(R.id.fragment_container_activity_chat, MessageInputFragment())
|
|
|
|
|
|
+ replace(R.id.fragment_container_activity_chat, messageInputFragment)
|
|
}
|
|
}
|
|
|
|
|
|
joinRoomWithPassword()
|
|
joinRoomWithPassword()
|