fix ticker line

This commit is contained in:
B. Petersen
2024-10-23 14:58:32 +02:00
parent cc419a9f62
commit fb1f5df234
@@ -403,11 +403,10 @@ public class NotificationCenter {
// if privacy allows, for better accessibility,
// prepend the sender in the ticker also for one-to-one chats (for group-chats, this is already done)
String tickerLine = line;
if (!dcChat.isMultiUser() && privacy.isDisplayContact()) {
line = dcMsg.getSenderName(dcContext.getContact(dcMsg.getFromId()), false) + ": " + line;
}
builder.setTicker(tickerLine);
builder.setTicker(line);
// set sound, vibrate, led for systems that do not have notification channels
if (!notificationChannelsSupported()) {