Open Bungeefan opened 3 years ago
ticker
is deprecated and there should be both title
& text
pair, but it looks like some notifications only have a title
field.
I guess the best thing to do here if text
is missing is to map appName
to the notification title and title
to the notification body. Unless appName
and title
are the same, in which case there should only be a title and the body nulled out.
I just wanted to note that there are also notifications on Android which only use text
without any title!
Therefore, it's displayed as
undefined: Message Text
so maybe just skip the title in this case.
Describe the bug
I know this isn't the latest GNOME version, but the one used by the newest Ubuntu release (21.04), maybe it also applies to the newer version.
Whenever I get a notification through KDE-Connect on Snapchat "undefined" is appended. Example as an image attached! I could only reproduce it with Snapchat, I looked at the notification log of Android and the only difference I could spot was that "android.text" was null. Tested: Snapchat, Telegram, Signal
Steps To Reproduce:
Expected behavior
The same notification without the "undefined".
Screenshots
Support Log
System Details (please complete the following information):
GSConnect environment (if applicable):
Additional Notes:
GSConnect freshly installed after I used pure KDE-Connect for a while (where this issue didn't exist)