MessageListScreen: Annotate sender in group chats
This commit is contained in:
@@ -42,6 +42,9 @@ data class Conversation(
|
||||
}
|
||||
}
|
||||
|
||||
val isGroupChat: Boolean
|
||||
get() = participants.count() > 1
|
||||
|
||||
fun formattedDisplayName(): String {
|
||||
return displayName ?: participants.joinToString(", ")
|
||||
}
|
||||
|
||||
@@ -42,7 +42,7 @@ class UpdateMonitor(private val client: APIClient) : WebSocketListener() {
|
||||
fun beginMonitoringUpdates() {
|
||||
Log.d(UPMON_LOG, "Opening websocket connection")
|
||||
this.webSocket = client.getWebSocketClient(
|
||||
serverPath = "/updates",
|
||||
serverPath = "updates",
|
||||
queryParams = mapOf("seq" to messageSeq.toString()),
|
||||
listener = this
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user