adding missing messaging style config

This commit is contained in:
Adam Brown 2022-07-13 18:24:17 +01:00
parent d9953d840c
commit 6f18d48905
3 changed files with 3 additions and 2 deletions

View File

@ -34,6 +34,8 @@ class AndroidNotificationStyleBuilder(
.setKey(person.key)
.build()
).also { style ->
style.conversationTitle = title
style.isGroupConversation = isGroup
content.forEach {
val sender = personBuilderFactory()
.setName(it.sender.name)

View File

@ -4,7 +4,7 @@ import android.app.NotificationChannel
import android.app.NotificationManager
import android.os.Build
private const val channelId = "message"
const val channelId = "message"
class NotificationChannels(
private val notificationManager: NotificationManager

View File

@ -10,7 +10,6 @@ import app.dapk.st.matrix.sync.RoomOverview
import app.dapk.st.navigator.IntentFactory
private const val GROUP_ID = "st"
private const val channelId = "message"
class NotificationFactory(
private val context: Context,