We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 31b9eeb + af80e6b commit 1d28cb5Copy full SHA for 1d28cb5
1 file changed
app/src/main/java/com/nextcloud/talk/contextchat/ContextChatViewModel.kt
@@ -60,7 +60,7 @@ class ContextChatViewModel @Inject constructor(private val chatNetworkDataSource
60
token = token,
61
messageId = messageId,
62
limit = LIMIT,
63
- threadId = threadId?.toInt()
+ threadId = threadId?.toIntOrNull()
64
)
65
66
if (threadId.isNullOrEmpty()) {
0 commit comments