Add Riot as a recognized chat application (including pebble color and icon)
This commit is contained in:
parent
e70d6a1260
commit
fd51f32765
|
@ -29,6 +29,9 @@ public class AppNotificationType extends HashMap<String, NotificationType> {
|
||||||
// Conversations
|
// Conversations
|
||||||
put("eu.siacs.conversations", NotificationType.CONVERSATIONS);
|
put("eu.siacs.conversations", NotificationType.CONVERSATIONS);
|
||||||
|
|
||||||
|
// Riot
|
||||||
|
put("im.vector.alpha", NotificationType.RIOT);
|
||||||
|
|
||||||
// Signal
|
// Signal
|
||||||
put("org.thoughtcrime.securesms", NotificationType.SIGNAL);
|
put("org.thoughtcrime.securesms", NotificationType.SIGNAL);
|
||||||
|
|
||||||
|
|
|
@ -13,6 +13,7 @@ public enum NotificationType {
|
||||||
GENERIC_SMS(PebbleIconID.GENERIC_SMS, PebbleColor.VividViolet),
|
GENERIC_SMS(PebbleIconID.GENERIC_SMS, PebbleColor.VividViolet),
|
||||||
FACEBOOK(PebbleIconID.NOTIFICATION_FACEBOOK, PebbleColor.Liberty),
|
FACEBOOK(PebbleIconID.NOTIFICATION_FACEBOOK, PebbleColor.Liberty),
|
||||||
FACEBOOK_MESSENGER(PebbleIconID.NOTIFICATION_FACEBOOK_MESSENGER, PebbleColor.VeryLightBlue),
|
FACEBOOK_MESSENGER(PebbleIconID.NOTIFICATION_FACEBOOK_MESSENGER, PebbleColor.VeryLightBlue),
|
||||||
|
RIOT(PebbleIconID.NOTIFICATION_HIPCHAT, PebbleColor.LavenderIndigo),
|
||||||
SIGNAL(PebbleIconID.NOTIFICATION_HIPCHAT, PebbleColor.BlueMoon),
|
SIGNAL(PebbleIconID.NOTIFICATION_HIPCHAT, PebbleColor.BlueMoon),
|
||||||
TWITTER(PebbleIconID.NOTIFICATION_TWITTER, PebbleColor.BlueMoon),
|
TWITTER(PebbleIconID.NOTIFICATION_TWITTER, PebbleColor.BlueMoon),
|
||||||
TELEGRAM(PebbleIconID.NOTIFICATION_TELEGRAM, PebbleColor.PictonBlue),
|
TELEGRAM(PebbleIconID.NOTIFICATION_TELEGRAM, PebbleColor.PictonBlue),
|
||||||
|
@ -46,6 +47,7 @@ public enum NotificationType {
|
||||||
return "generic_social";
|
return "generic_social";
|
||||||
case CONVERSATIONS:
|
case CONVERSATIONS:
|
||||||
case FACEBOOK_MESSENGER:
|
case FACEBOOK_MESSENGER:
|
||||||
|
case RIOT:
|
||||||
case SIGNAL:
|
case SIGNAL:
|
||||||
case TELEGRAM:
|
case TELEGRAM:
|
||||||
case WHATSAPP:
|
case WHATSAPP:
|
||||||
|
|
Loading…
Reference in New Issue