There's a few more modifications you'll need to make.  The modifications
you've made will allow the applet to recognize the groupchat service.  Now
you'll probably need to modify additional code (most likely in the
JabberApplet.java, GroupChat.java and JabberComm.java files) to handle the
newer groupchat.

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 16, 2001 6:10 AM
To: [EMAIL PROTECTED]
Subject: [JDEV] Jabber Applet GroupChat Problems!


Hi Everyone,

I installed the JabberApplet.jar on a RedHat 
linux machine and all other functions work fine 
except for the groupchat feature.

When I chose the option of "Join Group Chat" on 
the applet menu, I got the error:
"The Group Chat module has not been installed 
for the ... Jabber Server."

If I use WinJab's Groupchat feature on the same 
server, it works fine!

Back to the Applet...upon inspection I found 
that the server is sending the following XML to 
the Applet:

<iq id='Agents' type='result' 
to='[EMAIL PROTECTED]/JabberApplet' 
from='chembur.myiris.com'><query 
xmlns='jabber:iq:agents'><agent 
jid='jud.chembur.myiris.com'><name>Jabber User 
Directory</name><service>jud</service><search/><
register/></agent><agent 
jid='conference.chembur.myiris.com'><name>Public
 
Chatrooms</name><service>public</service><groupc
hat/></agent></query></iq>

What could be wrong?

By modifying the code in JabberApplet.java:
in the function agentsProcessing
changing the line:
if (service.compareTo("conference")==0)
to
if (service.compareTo("public")==0)

makes the Applet go a step further and prompt 
for the chatroom name & the nick name.

Have I made the right modifications? or should 
the server report the services as:
"jud" & "conference"

Thanks in advance
Amit


________________________________________________________________

This message was sent using Myiris Mail
For more information visit http://mail.myiris.com


_______________________________________________
jdev mailing list
[EMAIL PROTECTED]
http://mailman.jabber.org/listinfo/jdev

_______________________________________________
jdev mailing list
[EMAIL PROTECTED]
http://mailman.jabber.org/listinfo/jdev

Reply via email to