Not logged in. · Lost password · Register
Forum: MatriX RSS
Avatar
hardmanii #1
Member since Apr 2011 · 20 posts · Location: seoul
Group memberships: Members
Show profile · Link to this post
Subject: i want make dynamic chat room.
hi ~

i want to make dynamic (number) chat room.


my source .


                mucManager = new MucManager(_XmppClient);
                string roomId = id + "@conference.myip"; //id is dynamic
                Jid m_RoomJid = new Jid(roomId);

                mucManager.CreateEnterRoomStanza(roomId, _Login.Nickname);
                mucManager.EnterRoom(m_RoomJid, _Login.Jid.User, true);


openfire server admin page : group chat rooms maked.

but User not join EnterRoom. only 1 user EnterRoom.

source code : mucManager.EnterRoom(m_RoomJid, "testId1", true);
source code : mucManager.EnterRoom(m_RoomJid, "testId2", true);

openfire server admin page : only 1 user joined
This post was edited on 2011-05-27, 09:55 by hardmanii.
Avatar
Alex #2
Member since Feb 2003 · 4307 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
CreateEnterRoomStanza does nothing in your code. Please remove it. When you create a new room then you have to configure it, before other users can join the room. The easiest way is to Accept the default configuration. This is done with RequestInstantRoom after you created the room with EnterRoom.

Alex
Avatar
Alex #3
Member since Feb 2003 · 4307 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
In reply to post #1
I have attached the GroupChat form which will be in the next release. There is all info you need.
Please let me know if it helps.

Alex
The author has attached one file to this post:
Muc.zip 7.6 kBytes
You have no permission to open this file.
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: MatriX RSS