Fixed 1-1 conversation having chartoom-xxxx subject

This commit is contained in:
Sylvain Berfini 2024-07-12 14:32:46 +02:00
parent 1cd79b5086
commit 7aebfafde3

View file

@ -129,11 +129,9 @@ class ConversationViewModel @UiThread constructor() : AbstractConversationViewMo
private val chatRoomListener = object : ChatRoomListenerStub() {
@WorkerThread
override fun onStateChanged(chatRoom: ChatRoom, newState: ChatRoom.State?) {
Log.i("$TAG Conversation state changed [${chatRoom.state}]")
if (chatRoom.state == ChatRoom.State.Created) {
computeConversationInfo()
}
override fun onConferenceJoined(chatRoom: ChatRoom, eventLog: EventLog) {
Log.i("$TAG Conversation was joined")
computeConversationInfo()
}
@WorkerThread