XMPP protocol support

June 27, 2009 at 4:26 pm | Posted in Spectrum | 2 Comments

I was thinking what’s the best way how to test purple_request_fields function and today I’ve found out that Jabber protocol uses them a lot, so XMPP is now also supported. I had to change the way how the usernames are handled, because Jabber uses Jabber IDs (so for example if you want to send message to user with JID hanzz@njs.netlab.cz, you should use hanzz%njs.netlab.cz@transport.jabbim.cz). However transport supports XEP-100: Gateway Interaction so if your client supports it too, you just type JID of user you want to write to and transport will generate modified JID for you.

PURPLE_REQUEST_FIELDS in Psi

PURPLE_REQUEST_FIELDS in Psi

I’ve also tested and fixed XHTML-IM. Formatted messages are now send only if it’s necessary.

XHTML-IM in Psi

XHTML-IM in Psi

Advertisement

2 Comments »

RSS feed for comments on this post. TrackBack URI

  1. You can test XEP-100 support with Coccinella.

    • I will, and thanks for you bugreport about registration form (Spike told me about it…). I will fix it :)


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Blog at WordPress.com. | Theme: Pool by Borja Fernandez.
Entries and comments feeds.

Follow

Get every new post delivered to your Inbox.