Enavigo

Take lemons, make lemonade or Jill and Yuval’s Musings

Enavigo header image 5

Building an IM Bot with the Smack API. Avoid setting Roster Permissions

November 23rd, 2008 No Comments

So I built what is an instant messaging bot using the Smack API and the Openfire XMPP server. Doing it is pretty simple of you read the documentation and Smack’s developer notes. The bot relies on a queue-like object that Smack gives you called a PacketCollector. All you need to do is log in to […]

Tags:   · · · · · · ·

Openfire/XMPP Multi-User Chat name is registered as all lower-case

November 15th, 2008 2 Comments

Another observation regarding XMPP multi-user chat (aka chat-rooms) to follow on my previous entry. This one is also an odd one.
It appears that Openfire uses all-lowercase names for multi-user chat rooms. So if your room’s name is “myRoom”, it will be saved as “myroom”.
Could not find anything to require this in the XMPP specifications for […]

Tags:   · · · · ·

Openfire/Smack bug? Unable to ask Multi-User Chat who the admins are

November 15th, 2008 No Comments

I encountered two interesting points when working with the Openfire XMPP server and the Smack API, both from IgniteRealtime.

After joining a Multi-User Chat (MUC) independently, without invite, I was forbidden (e.g. error 403) from finding out who the administrators or owners of the room were. I could not find anything about this in the […]

Tags:   · · · · · · · ·