Hi Matt,
I thought I will start fresh here.
Looking at the response from the art@conference.myjabber.net server it does what you said and send the presence with the room/nickname.
Never the less my method does not get this confirmation. Is running it on a separate Thread an issu?
Here is the first thing the server says in the art room:
tedweitz is here
Here is my simple version of run:
public void run() {
try{
groupChat = connection.createGroupChat(room);
groupChat.addMessageListener(this);
groupChat.join(client.login.userName);
groupChat.addParticipantListner(this);
setRoster();
client.tabbedPane.add(room,this );
}
catch(XMPPException ex){
System.out.println("GroupChatClient line 59 Exception: "+ex);}
Never the less it is not working I am missing something, maybe setting up the right listener first.
To complicate things more
The jdev room at jabber.org does not send this type of presence at all it sends
bot0dnd
So it looks like we are relaying on an inconsistent behavior to confirm the login, but even when the server send the right thing my program does not see it.
I am clearly stuck. Maybe some where there is a piece of code for a simple group chat login.
Thanks,
Ted
T