Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions apps/messageicons/ChangeLog
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@
0.08: Add more icons including GMail, Google Messages, Google Agenda
0.09: Add Bereal, Nextcloud, Thunderbird, Davx⁵, Kleinanzeigen, Element X
0.10: Fix broken PNG icons
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.)
Binary file modified apps/messageicons/icons.img
Binary file not shown.
Binary file added apps/messageicons/icons/gotify.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified apps/messageicons/icons/home assistant.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions apps/messageicons/icons/icon_names.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
{ "app":"discord", "icon":"discord.png" },
{ "app":"drive", "icon":"google drive.png" },
{ "app":"element", "icon":"matrix element.png" },
{ "app":"element classic", "icon":"matrix element.png" },
{ "app":"element x", "icon":"matrix element.png" },
{ "app":"facebook", "icon":"facebook.png" },
{ "app":"messenger", "icon":"facebook messenger.png" },
Expand All @@ -45,6 +46,7 @@
{ "app":"google", "icon":"google.png" },
{ "app":"google home", "icon":"google home.png" },
{ "app":"google play store", "icon":"google play store.png" },
{ "app":"gotify", "icon":"gotify.png" },
{ "app":"home assistant", "icon":"home assistant.png" },
{ "app":"instagram", "icon":"instagram.png" },
{ "app":"jira", "icon":"jira.png" },
Expand All @@ -55,6 +57,7 @@
{ "app":"lieferando", "icon":"lieferando.png" },
{ "app":"linkedin", "icon":"linkedin.png" },
{ "app":"maps", "icon":"map.png" },
{ "app":"meshtastic", "icon":"meshtastic.png" },
{ "app":"organic maps", "icon":"map.png" },
{ "app":"osmand", "icon":"map.png" },
{ "app":"mastodon", "icon":"mastodon.png" },
Expand Down
Binary file added apps/messageicons/icons/meshtastic.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion apps/messageicons/lib.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ exports.getImage = function(msg) {
if (msg.img) return atob(msg.img);
let s = (("string"=== typeof msg) ? msg : (msg.src || "")).toLowerCase();
if (msg.id=="music") s="music";
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+)`))
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+)`))
return require("Storage").read("messageicons.img", (match===null)?0:match[1]*76, 76);
};

Expand Down
2 changes: 1 addition & 1 deletion apps/messageicons/metadata.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"id": "messageicons",
"name": "Message Icons",
"version": "0.10",
"version": "0.11",
"description": "Library containing a list of icons and colors for apps",
"icon": "app.png",
"type": "module",
Expand Down