Support GIFs in pages.meet user profile image

This commit is contained in:
Niko 2022-02-25 15:27:33 +01:00
parent 6bf5ee7fcd
commit 2d501f7575
1 changed files with 1 additions and 1 deletions

View File

@ -266,7 +266,7 @@ app.fullscreen = {
app.media = {
view: function(url) {
if (url.match(/^.*\.(jpg|jpeg|png|ico|webp)$/))
if (url.match(/^.*\.(jpg|jpeg|png|ico|gif|webp)$/))
app.overlay.create('overlay.view_image', { url },
{ dark: true, removable: true });
},