mirror of
https://github.com/nextcloud/talk-android
synced 2025-08-15 07:55:05 +01:00
fix to not show null if no last message of thread exists
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
This commit is contained in:
parent
d25e85e3f2
commit
59ced8843e
@ -212,8 +212,8 @@ fun ThreadsList(
|
||||
ThreadRow(
|
||||
roomToken = roomToken,
|
||||
threadId = threadInfo.thread!!.id,
|
||||
firstLine = threadInfo.first?.message.toString(),
|
||||
secondLine = threadInfo.last?.message.toString(),
|
||||
firstLine = threadInfo.first?.message.orEmpty(),
|
||||
secondLine = threadInfo.last?.message.orEmpty(),
|
||||
date = getLastActivityDate(threadInfo), // TODO: replace with value from api when available
|
||||
imageRequest = imageRequest,
|
||||
onClick = onThreadClick
|
||||
|
Loading…
Reference in New Issue
Block a user