powered by Jive Software

Smack''s Invisible Presence causes exception in Wildfire?

I actually have a cross-post at http://www.jivesoftware.org/community/thread.jspa?threadID=20556 , but I’‘m not getting replies there, so I thought I’'d try here, since this issue relates to both Smack API and Wildfire.

The general problem is that Smack presence has an invisible mode, but seems to be missing in the Wildfire presence. Please refer to the thread and reply there, thanks!

Inivisible presence actually doesn’‘t exist. All the valid presence types are spelled out in the XMPP RFC. A few old clients still use invisible as a presence type, but that’'s a protocol mistake. The new way to do invisible presence is described in:

http://www.jabber.org/jeps/jep-0186.html

We don’'t yet support that JEP in Wildfire, but likely will in the near future.

I don’‘t think Smack has ever had an invisible presence mode? It certainly hasn’'t for quite some time.

Best Regards,

Matt

Thanks, but I found that in Smack’'s latest API

http://www.jivesoftware.org/builds/smack/docs/latest/javadoc/org/jivesoftware/sm ack/packet/Presence.Mode.html#INVISIBLE

Ack, that definitely shouldn’‘t be there anymore. Thanks for catching that issue. I’'ll file a bug and get it fixed.

Regards,

Matt

I’'ve added:

JM-747

SMACK-147

Regards,

Matt

Great… hope to see the next Smack soon!

JM-747

SMACK-147

Thank you. Would you consider filing another bug for adding support for jep186 to Smack?

Hello, Matt

Acording to http://xmpp.org/extensions/xep-0018.html

Disco should return smth like this

<iq from='bilbo@tolkien.lit/shire'
    id='disco1'
    to='tolkien.lit'
    type='result'>
  <query xmlns='http://jabber.org/protocol/disco#info'>
    <feature var='urn:xmpp:invisible:0'/>
  </query>
</iq>

But in the latest openfire version there
 is nothing like this.

Was this feature delivered to opefire release?

Also, are there any other way to use invisible mode?
 Maybe http://xmpp.org/extensions/xep-0018.html

Thanks
Ilya

Disco of Openfire 3.6.4