mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-11-05 09:47:01 +01:00
Add Element, ElementX, and Molly to the recognized applications and as generic chat
This commit is contained in:
parent
629f487c70
commit
14d5c79d02
@ -68,11 +68,15 @@ public class AppNotificationType extends HashMap<String, NotificationType> {
|
||||
put("eu.siacs.conversations", NotificationType.CONVERSATIONS);
|
||||
put("de.pixart.messenger", NotificationType.CONVERSATIONS);
|
||||
|
||||
// Riot
|
||||
// Riot, Element, ElementX
|
||||
put("im.vector.alpha", NotificationType.RIOT);
|
||||
put("im.vector.app", NotificationType.ELEMENT);
|
||||
put("io.element.android.x", NotificationType.ELEMENTX);
|
||||
|
||||
// Signal
|
||||
put("org.thoughtcrime.securesms", NotificationType.SIGNAL);
|
||||
put("im.molly.app", NotificationType.MOLLY);
|
||||
put("im.molly.app.unifiedpush", NotificationType.MOLLY);
|
||||
|
||||
// Wire
|
||||
put("com.wire", NotificationType.WIRE);
|
||||
|
@ -74,7 +74,10 @@ public enum NotificationType {
|
||||
WHATSAPP(PebbleIconID.NOTIFICATION_WHATSAPP, PebbleColor.IslamicGreen),
|
||||
YAHOO_MAIL(PebbleIconID.NOTIFICATION_YAHOO_MAIL, PebbleColor.Indigo),
|
||||
COL_REMINDER(PebbleIconID.NOTIFICATION_REMINDER, PebbleColor.IslamicGreen),
|
||||
DELTACHAT(PebbleIconID.NOTIFICATION_HIPCHAT, PebbleColor.BlueMoon);
|
||||
DELTACHAT(PebbleIconID.NOTIFICATION_HIPCHAT, PebbleColor.BlueMoon),
|
||||
ELEMENT(PebbleIconID.NOTIFICATION_HIPCHAT, PebbleColor.Malachite),
|
||||
ELEMENTX(PebbleIconID.NOTIFICATION_HIPCHAT, PebbleColor.Malachite),
|
||||
MOLLY(PebbleIconID.NOTIFICATION_HIPCHAT, PebbleColor.LavenderIndigo);
|
||||
|
||||
// Note: if you add any more constants, update all clients as well
|
||||
|
||||
@ -132,6 +135,9 @@ public enum NotificationType {
|
||||
case VIBER:
|
||||
case DISCORD:
|
||||
case DELTACHAT:
|
||||
case ELEMENT:
|
||||
case ELEMENTX:
|
||||
case MOLLY:
|
||||
return "generic_chat";
|
||||
case GMAIL:
|
||||
case GOOGLE_INBOX:
|
||||
|
Loading…
Reference in New Issue
Block a user