candy-chat / candy

JavaScript-based multi-user chat client for XMPP.
http://candy-chat.github.io/candy
MIT License
1.32k stars 370 forks source link

Message is undefined #469

Open 3ynm opened 8 years ago

3ynm commented 8 years ago

I don't know why, but I'm retrieving the message "message is undefined" when using anonymous login:

function Candy.Core.Event</self.Jabber.Message()  - error -  TypeError: message is undefined
Stack trace:
Candy.Core.Event</self.Jabber.Room.Message@http://comunidad.verdadahora.cl/candy.bundle.js:3177:17
Candy.Core.Event</self.Jabber.Message@http://comunidad.verdadahora.cl/candy.bundle.js:2785:17
f.Handler.prototype.run@http://comunidad.verdadahora.cl/libs.min.js:1:15817
f.Connection.prototype._dataRecv/<@http://comunidad.verdadahora.cl/libs.min.js:1:22445
f.forEachChild@http://comunidad.verdadahora.cl/libs.min.js:1:8462
f.Connection.prototype._dataRecv@http://comunidad.verdadahora.cl/libs.min.js:1:22278
Strophe.Bosh.prototype._onRequestStateChange@http://comunidad.verdadahora.cl/libs.min.js:2:6782
 message is undefined

It does not happen while using an authenticated user.

You can check it in http://comunidad.verdadahora.cl Thanks!

jdc20181 commented 8 years ago

Would love to see it but it isn't working. http://screenshot.sh/ov3AEiYyTjpbc

If you get it fixed let me know I'd love to test and look and see what is happening

thanks

Jeffrey

3ynm commented 8 years ago

It's up again

jdc20181 commented 8 years ago

how do i authenticate or go anonymous sorry i havent ever seen a demo or working example of this project, ia m just solving issues and looking at code. and its not in english :/

3ynm commented 8 years ago

Simply enter a Nickname (that's what's called an anonymous login), the errors are shown in the javascript console.

jdc20181 commented 8 years ago

I tried to send a message and got something I assume a error as I didn't see my message. You are seeing this in console? Can you maybe take a screenshot of how you are experiencing?

On Monday, June 27, 2016, Hacktivista notifications@github.com wrote:

Simply enter a Nickname (that's what's called an anonymous login), the errors are shown in the javascript console.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/candy-chat/candy/issues/469#issuecomment-228924508, or mute the thread https://github.com/notifications/unsubscribe/AMphBmSSjwyRaPdsFv9tPIK7qCLoIroBks5qQHoCgaJpZM4IWZ6N .

3ynm commented 8 years ago

That's exactly what I'm talking about Screenshot here

benlangfeld commented 8 years ago

This is probably related to https://github.com/candy-chat/candy/pull/474.