mirror of
https://github.com/nextcloud/talk-android.git
synced 2024-11-22 04:55:29 +03:00
Fixed
Signed-off-by: rapterjet2004 <juliuslinus1@gmail.com>
This commit is contained in:
parent
2ba6676173
commit
5caf93357f
1 changed files with 4 additions and 0 deletions
|
@ -3384,6 +3384,10 @@ class ChatActivity :
|
|||
val messageTemp = message as ChatMessage
|
||||
messageTemp.lastEditTimestamp = message.lastEditTimestamp
|
||||
|
||||
val index = adapter?.getMessagePositionById(messageTemp.id) ?: 0
|
||||
val adapterMsg = adapter?.items?.get(index)?.item as ChatMessage
|
||||
|
||||
messageTemp.parentMessage = adapterMsg.parentMessage
|
||||
messageTemp.isOneToOneConversation =
|
||||
currentConversation?.type == ConversationType.ROOM_TYPE_ONE_TO_ONE_CALL
|
||||
messageTemp.activeUser = conversationUser
|
||||
|
|
Loading…
Reference in a new issue