diaspora / jsxc

Real-time chat app
www.jsxc.org
Other
22 stars 16 forks source link

404 when clicking the diaspora* logout link with activated chat #150

Open svbergerem opened 8 years ago

svbergerem commented 8 years ago

On the master branch when you are online and try to sign out of diaspora* you will receive a 404 error. This happens because logout is only possible via DELETE but when your online status is set to online we use GET instead. It doesn't happen on the develop branch.

Although I didn't look that much into the jsxc code this line looks like it could have caused this.

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/32197902-404-when-clicking-the-diaspora-logout-link-with-activated-chat?utm_campaign=plugin&utm_content=tracker%2F7153406&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F7153406&utm_medium=issues&utm_source=github).
zauberstuhl commented 8 years ago

Without testing I guess it is following line: https://github.com/diaspora/diaspora/blob/master/app/assets/javascripts/jsxc.js#L15

that line was removed from develop.