xabber-android
xabber-android copied to clipboard
Is <composing> message sent?
Thanks so much for your work on Xabber.
I may have a bug to report, about xep 0085 and the
From my tests, it seems that, when a user starts typing on Xabber, Xabber does not send a message stanza with a composing tag to notify the other side of the conversation, as per XEP 0085 (see http://xmpp.org/extensions/xep-0085.html , example 5).
The tests:
- Caught pidgin sending the same stanza
- Was done with a just-installed Xabber that never had sent messages to that user
- Only showed one message stanza: the one with the message itself. There was no preceding message stanza with the
tag
The strophe.js code that does I used for testing: function pega(stanza) { if ( stanza.getElementsByTagName('composing').length > 0) { console.log('composing'); } if ( stanza.getElementsByTagName('composing').length === 0) { console.log('NOT composing'); } console.log(stanza) return true; } messenger.connection.addHandler(pega)
Thanks!
Most likely, you do not follow the rules of XEP-0085 and Xabber does not know that the Contact supports chat state notifications