mirror of
https://github.com/zulip/zulip-desktop.git
synced 2025-11-03 13:33:18 +00:00
🐛 open images in default browser
This commit is contained in:
@@ -7,6 +7,9 @@ function linkIsInternal(currentUrl, newUrl) {
|
||||
return currentDomain === newDomain;
|
||||
}
|
||||
|
||||
// We'll be needing this to open images in default browser
|
||||
const skipImages = '.jpg|.gif|.png|.jpeg|.JPG|.PNG';
|
||||
|
||||
exports = module.exports = {
|
||||
linkIsInternal
|
||||
linkIsInternal, skipImages
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user