Skip to content

Commit 705d842

Browse files
committed
Add icons for Meshtastic, Gotify. Update icon for Home Assistant. Add icon for "Element Classic" after "Element" has been renamed. (Keeping "Element" as well for backwards compatibility.)
1 parent bad7e04 commit 705d842

File tree

7 files changed

+5
-1
lines changed

7 files changed

+5
-1
lines changed

apps/messageicons/ChangeLog

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,4 @@
99
0.08: Add more icons including GMail, Google Messages, Google Agenda
1010
0.09: Add Bereal, Nextcloud, Thunderbird, Davx⁵, Kleinanzeigen, Element X
1111
0.10: Fix broken PNG icons
12+
0.11: Add icons for Meshtastic, Gotify. Update icon for Home Assistant. Add icon for "Element Classic" after "Element" has been renamed. (Keeping "Element" as well for backwards compatibility.)

apps/messageicons/icons.img

152 Bytes
Binary file not shown.

apps/messageicons/icons/gotify.png

228 Bytes
Loading
41 Bytes
Loading

apps/messageicons/icons/icon_names.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
{ "app":"discord", "icon":"discord.png" },
3030
{ "app":"drive", "icon":"google drive.png" },
3131
{ "app":"element", "icon":"matrix element.png" },
32+
{ "app":"element classic", "icon":"matrix element.png" },
3233
{ "app":"element x", "icon":"matrix element.png" },
3334
{ "app":"facebook", "icon":"facebook.png" },
3435
{ "app":"messenger", "icon":"facebook messenger.png" },
@@ -45,6 +46,7 @@
4546
{ "app":"google", "icon":"google.png" },
4647
{ "app":"google home", "icon":"google home.png" },
4748
{ "app":"google play store", "icon":"google play store.png" },
49+
{ "app":"gotify", "icon":"gotify.png" },
4850
{ "app":"home assistant", "icon":"home assistant.png" },
4951
{ "app":"instagram", "icon":"instagram.png" },
5052
{ "app":"jira", "icon":"jira.png" },
@@ -55,6 +57,7 @@
5557
{ "app":"lieferando", "icon":"lieferando.png" },
5658
{ "app":"linkedin", "icon":"linkedin.png" },
5759
{ "app":"maps", "icon":"map.png" },
60+
{ "app":"meshtastic", "icon":"meshtastic.png" },
5861
{ "app":"organic maps", "icon":"map.png" },
5962
{ "app":"osmand", "icon":"map.png" },
6063
{ "app":"mastodon", "icon":"mastodon.png" },
266 Bytes
Loading

apps/messageicons/lib.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ exports.getImage = function(msg) {
44
if (msg.img) return atob(msg.img);
55
let s = (("string"=== typeof msg) ? msg : (msg.src || "")).toLowerCase();
66
if (msg.id=="music") s="music";
7-
let match = ",default|0,airbnb|1,agenda|2,alarm|3,alarmclockreceiver|3,amazon shopping|4,bereal.|5,bibel|6,bitwarden|7,1password|7,lastpass|7,dashlane|7,bring|8,calendar|9,etar|9,chat|10,chrome|11,clock|3,corona-warn|12,bmo|13,desjardins|13,rbc mobile|13,nbc|13,rabobank|13,scotiabank|13,td (canada)|13,davx⁵|14,discord|15,drive|16,element|17,element x|17,facebook|18,messenger|19,firefox|20,firefox beta|20,firefox nightly|20,f-droid|7,neo store|7,aurora droid|7,github|21,gitlab|22,gmail|23,gmx|24,google|25,google home|26,google play store|27,home assistant|28,instagram|29,jira|30,kalender|31,keep notes|32,kleinanzeigen|33,leboncoin|34,lieferando|35,linkedin|36,maps|37,organic maps|37,osmand|37,mastodon|38,fedilab|38,tooot|38,tusky|38,mattermost|39,messages|40,n26|41,netflix|42,news|43,cbc news|43,rc info|43,reuters|43,ap news|43,la presse|43,nbc news|43,nextbike|44,nextcloud|45,nina|46,outlook mail|47,paypal|48,phone|49,plex|50,pocket|51,post & dhl|52,proton mail|53,reddit|54,sync pro|54,sync dev|54,boost|54,infinity|54,slide|54,signal|55,molly|55,skype|56,slack|57,snapchat|58,starbucks|59,steam|60,teams|61,telegram|62,telegram foss|62,threema|63,threema libre|63,thunderbird|64,tiktok|65,to do|66,opentasks|66,tasks|66,transit|67,twitch|68,twitter|69,uber|70,lyft|70,vlc|71,warnapp|72,whatsapp|73,wordfeud|74,youtube|75,newpipe|75,zoom|76,meet|76,music|77,sms message|0,mail|0,".match(new RegExp(`,${s}\\|(\\d+)`))
7+
let match = ",default|0,airbnb|1,agenda|2,alarm|3,alarmclockreceiver|3,amazon shopping|4,bereal.|5,bibel|6,bitwarden|7,1password|7,lastpass|7,dashlane|7,bring|8,calendar|9,etar|9,chat|10,chrome|11,clock|3,corona-warn|12,bmo|13,desjardins|13,rbc mobile|13,nbc|13,rabobank|13,scotiabank|13,td (canada)|13,davx⁵|14,discord|15,drive|16,element|17,element classic|17,element x|17,facebook|18,messenger|19,firefox|20,firefox beta|20,firefox nightly|20,f-droid|7,neo store|7,aurora droid|7,github|21,gitlab|22,gmail|23,gmx|24,google|25,google home|26,google play store|27,gotify|28,home assistant|29,instagram|30,jira|31,kalender|32,keep notes|33,kleinanzeigen|34,leboncoin|35,lieferando|36,linkedin|37,maps|38,meshtastic|39,organic maps|38,osmand|38,mastodon|40,fedilab|40,tooot|40,tusky|40,mattermost|41,messages|42,n26|43,netflix|44,news|45,cbc news|45,rc info|45,reuters|45,ap news|45,la presse|45,nbc news|45,nextbike|46,nextcloud|47,nina|48,outlook mail|49,paypal|50,phone|51,plex|52,pocket|53,post & dhl|54,proton mail|55,reddit|56,sync pro|56,sync dev|56,boost|56,infinity|56,slide|56,signal|57,molly|57,skype|58,slack|59,snapchat|60,starbucks|61,steam|62,teams|63,telegram|64,telegram foss|64,threema|65,threema libre|65,thunderbird|66,tiktok|67,to do|68,opentasks|68,tasks|68,transit|69,twitch|70,twitter|71,uber|72,lyft|72,vlc|73,warnapp|74,whatsapp|75,wordfeud|76,youtube|77,newpipe|77,zoom|78,meet|78,music|79,sms message|0,mail|0,".match(new RegExp(`,${s}\\|(\\d+)`))
88
return require("Storage").read("messageicons.img", (match===null)?0:match[1]*76, 76);
99
};
1010

0 commit comments

Comments
 (0)