Not logged in. · Lost password · Register
Forum: agsXMPP RSS
Avatar
shai.pc #1
Member since Aug 2010 · 2 posts
Group memberships: Members
Show profile · Link to this post
Subject: New chat room event
Hi there,
I would like to know if there is any event that I can register to that will let me know when a new chat room was created or removed from the server ?
I am using the Openfire server and connect to it using agsXMPP.
Best Regards,

Aroyo Shai
Cellular:  +972.544.720.455
Avatar
Alex #2
Member since Feb 2003 · 4297 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
XMPP does not include such a feature by default.

You can get the list of available rooms with Service Discovery. You can request the list periodically and compare it.
You could also write a small server plugin for Openfire which notifies a list of Jids for new and removed rooms. Or publish the list in a pubsub node which would include the feature of notification to the subscribers.

Alex
This post was edited on 2010-08-04, 12:59 by Alex.
Avatar
shai.pc #3
Member since Aug 2010 · 2 posts
Group memberships: Members
Show profile · Link to this post
Subject: Thanks
Thanks for the fast reply
Best Regards,

Aroyo Shai
Cellular:  +972.544.720.455
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Forum: agsXMPP RSS