mirror of
https://github.com/ouchadam/small-talk.git
synced 2025-02-02 12:36:44 +01:00
adding missing messaging style config
This commit is contained in:
parent
d9953d840c
commit
6f18d48905
@ -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)
|
||||
|
@ -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
|
||||
|
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user