2
0
mirror of https://github.com/KDE/kdeconnect-android synced 2025-08-30 21:55:10 +00:00

Don't use sender if not there

Reviewed-by: Aleix Pol
This commit is contained in:
Albert Vaca Cintora
2019-10-25 20:08:39 +02:00
parent b1c6df405c
commit dd5fb954bc

View File

@@ -371,7 +371,7 @@ public class NotificationsPlugin extends Plugin implements NotificationReceiver.
for (Parcelable p : ms) {
Bundle m = (Bundle) p;
if (isGroupConversation) {
if (isGroupConversation && m.containsKey("sender")) {
messagesBuilder.append(m.get("sender"));
messagesBuilder.append(": ");
}