cache participant fetching at the mainscreen to speed it up
This commit is contained in:
parent
0984449a76
commit
5185a98ca9
2 changed files with 17 additions and 5 deletions
|
|
@ -61,7 +61,7 @@ class ThreadActivity : SimpleActivity() {
|
|||
ensureBackgroundThread {
|
||||
messages = getMessages(threadId)
|
||||
participants = if (messages.isEmpty()) {
|
||||
getThreadParticipants(threadId)
|
||||
getThreadParticipants(threadId, null)
|
||||
} else {
|
||||
messages.first().participants
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue