mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2025-01-13 03:07:32 +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("eu.siacs.conversations", NotificationType.CONVERSATIONS);
|
||||||
put("de.pixart.messenger", NotificationType.CONVERSATIONS);
|
put("de.pixart.messenger", NotificationType.CONVERSATIONS);
|
||||||
|
|
||||||
// Riot
|
// Riot, Element, ElementX
|
||||||
put("im.vector.alpha", NotificationType.RIOT);
|
put("im.vector.alpha", NotificationType.RIOT);
|
||||||
|
put("im.vector.app", NotificationType.ELEMENT);
|
||||||
|
put("io.element.android.x", NotificationType.ELEMENTX);
|
||||||
|
|
||||||
// Signal
|
// Signal
|
||||||
put("org.thoughtcrime.securesms", NotificationType.SIGNAL);
|
put("org.thoughtcrime.securesms", NotificationType.SIGNAL);
|
||||||
|
put("im.molly.app", NotificationType.MOLLY);
|
||||||
|
put("im.molly.app.unifiedpush", NotificationType.MOLLY);
|
||||||
|
|
||||||
// Wire
|
// Wire
|
||||||
put("com.wire", NotificationType.WIRE);
|
put("com.wire", NotificationType.WIRE);
|
||||||
|
@ -74,7 +74,10 @@ public enum NotificationType {
|
|||||||
WHATSAPP(PebbleIconID.NOTIFICATION_WHATSAPP, PebbleColor.IslamicGreen),
|
WHATSAPP(PebbleIconID.NOTIFICATION_WHATSAPP, PebbleColor.IslamicGreen),
|
||||||
YAHOO_MAIL(PebbleIconID.NOTIFICATION_YAHOO_MAIL, PebbleColor.Indigo),
|
YAHOO_MAIL(PebbleIconID.NOTIFICATION_YAHOO_MAIL, PebbleColor.Indigo),
|
||||||
COL_REMINDER(PebbleIconID.NOTIFICATION_REMINDER, PebbleColor.IslamicGreen),
|
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
|
// Note: if you add any more constants, update all clients as well
|
||||||
|
|
||||||
@ -132,6 +135,9 @@ public enum NotificationType {
|
|||||||
case VIBER:
|
case VIBER:
|
||||||
case DISCORD:
|
case DISCORD:
|
||||||
case DELTACHAT:
|
case DELTACHAT:
|
||||||
|
case ELEMENT:
|
||||||
|
case ELEMENTX:
|
||||||
|
case MOLLY:
|
||||||
return "generic_chat";
|
return "generic_chat";
|
||||||
case GMAIL:
|
case GMAIL:
|
||||||
case GOOGLE_INBOX:
|
case GOOGLE_INBOX:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user