matrix icon for matrix.to links

This commit is contained in:
Lauren Liberda 2021-12-15 19:43:53 +01:00
parent adbd8063f3
commit 91884f7611

View File

@ -75,6 +75,10 @@ const LINK_PROVIDERS = {
icon: 'mastodon',
iconSet: 'b',
},
matrix: {
regex: '^https?://(?:www.)?matrix\\.to/#/([^/?]+)',
icon: 'https://raw.githubusercontent.com/vector-im/logos/master/matrix/matrix-favicon.png',
},
};
export default {