Ferdi: Can't open links in Skype

Created on 16 Sep 2019  路  8Comments  路  Source: getferdi/ferdi

https://github.com/meetfranz/franz/issues/1167#issuecomment-531567535

Neither are in my Franz. I click skype links and they won't open up, unless i copy and paste them outside. Before an update, i could click them, only to find out an error page. Maybe Microsoft doesn't quite like to be filtered out like that.

bug

Most helpful comment

Yes, the fix is now implemented into Ferdi as of 438b9fe.

All 8 comments

We should make sure to make fixes to issues like that in upstream. So we don't need to manage the code delta as an overhead here.

I've looked into this and the Skype client uses the following (unusual) technique to open links:

// Simplified version of Skype's t.prototype._openUrl function
function openURL(url) {
    // Open a blank new window first
    const newWindow = window.open();

    if (newWindow) {
        // Check that its not a mailto link
        if (url.indexOf("mailto:") !== 0) {
            // Let the new window open the URL
            newWindow.location.href = url
        }
    }
}

Franz, however, expects the service to open the URL directly, like

window.open(url);

@kytwb it looks like you removed yourself from this issue? I would create a fix for the Franz repo in this case.

Submitted fix in franz#1621

@vantezzen well done! 馃挭

Wow, that's actually awesome! An issue that is bugging users for months, solved via the renegade spin-off project. :100: :crossed_swords:

BTW, we may call the dark-blue label "contribute upstream". (I know, this is maybe less self-explanatory for everyone, unlike "Implement into Franz", but I think this is somewhat the official term of fixing stuff in the parent project.)

@vantezzen Can I implement your fix into Ferdi as it seems to take some time to get implemented in upstream?

Yes, the fix is now implemented into Ferdi as of 438b9fe.

Shipped in v5.3.4-beta.2

Was this page helpful?
0 / 5 - 0 ratings

Related issues

YourWishes picture YourWishes  路  3Comments

pktiuk picture pktiuk  路  3Comments

PeSader picture PeSader  路  3Comments

sbienkow picture sbienkow  路  3Comments

ammarmalhas picture ammarmalhas  路  3Comments