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.
1 parent c94b885 commit eeb8783Copy full SHA for eeb8783
app/src/main/kotlin/com/simplemobiletools/smsmessenger/activities/ConversationDetailsActivity.kt
@@ -34,7 +34,12 @@ class ConversationDetailsActivity : SimpleActivity() {
34
threadId = intent.getLongExtra(THREAD_ID, 0L)
35
ensureBackgroundThread {
36
conversation = conversationsDB.getConversationWithThreadId(threadId)
37
- participants = getThreadParticipants(threadId, null)
+ participants = if (conversation != null && conversation!!.isScheduled) {
38
+ val message = messagesDB.getThreadMessages(conversation!!.threadId).firstOrNull()
39
+ message?.participants ?: arrayListOf()
40
+ } else {
41
+ getThreadParticipants(threadId, null)
42
+ }
43
runOnUiThread {
44
setupTextViews()
45
setupParticipants()
0 commit comments