Signal-desktop: Wrong "iPhone" link on desktop activation window

Created on 27 Sep 2016  路  4Comments  路  Source: signalapp/Signal-Desktop

  • [x ] I have searched open and closed issues for duplicates

Bug description

When activating the Chrome desktop plugin, the "iPhone" link points to the Google Play version instead of the iOS app version.

Steps to reproduce

  • Install Chrome desktop plugin
  • Launch application the first time
  • Pass the first window clicking on "Get Started"
  • Click on the "iPhone" link

    Screenshots

screen shot 2016-09-27 at 16 00 50

Most helpful comment

Shouldn't it crash though if you do something like that?

lol nope bc javascript lololol. :joy: :sob:

And just to confuse you further, I fixed it by changing it to 0 arguments. yolo.

All 4 comments

Hmm... seems like fd08297cc2a3d143d9460c8ba88756de46726a57 didn't fix it.
Now the link is just empty.

I don't really know javascript but looks like this function only expects two arguments
https://github.com/WhisperSystems/Signal-Desktop/blob/fd08297cc2a3d143d9460c8ba88756de46726a57/js/views/whisper_view.js#L60-L62

Yet it's called with three:
https://github.com/WhisperSystems/Signal-Desktop/blob/fd08297cc2a3d143d9460c8ba88756de46726a57/js/views/install_view.js#L18

Shouldn't it crash though if you do something like that?

Shouldn't it crash though if you do something like that?

lol nope bc javascript lololol. :joy: :sob:

And just to confuse you further, I fixed it by changing it to 0 arguments. yolo.

:scream_cat:

Reasons why I'm watching this repo, in order of importance:

  • @liliakai's comments (this taking the prize for best in recent memory)
  • Knowing what's coming in the next signal-desktop release so I don't accidentally miss out on something
  • Might be able to occasionally contribute something useful
Was this page helpful?
0 / 5 - 0 ratings