Subject: how to chatroom invite?
hi. how are you?
chatroom come in user..
_MucManager.Invite(dropJid, _roomJid, "come room.")
what is mean?
dropJid Resource ?
dropJid resource "Res" Setting ----> Success!
dropJid.resouce = "" Setting ----> Error?
why?
my xml data ...
why error?
RECV:<presence from="pnumber@mydomain/res" to="pkh@mydomain" xmlns="jabber:client">
<show>dnd</show>
<status>180</status>
<priority>8</priority>
</presence>
RECV:<presence from="pnumber@mydomain/res" to="pkh@mydomain" xmlns="jabber:client">
<status>180</status>
<priority>10</priority>
</presence>
SEND:
RECV:<presence to="pkh@mydomain/res" from="room_55a2998f-85f0-4a09-bc44-19f20b11fb02@conference.mydomain/rrrrrr" xmlns="jabber:client">
<x xmlns="http://jabber.org/protocol/muc#user">
<item jid="pkh@mydomain/res" affiliation="owner" role="moderator" />
<status code="201" />
</x>
</presence>
SEND:<iq id="MX_5" type="set" to="room_55a2998f-85f0-4a09-bc44-19f20b11fb02@conference.mydomain" xmlns="jabber:client">
<query xmlns="http://jabber.org/protocol/muc#owner">
<x type="submit" xmlns="jabber:x:data" />
</query>
</iq>
RECV:<message type="groupchat" from="room_55a2998f-85f0-4a09-bc44-19f20b11fb02@conference.mydomain" to="pkh@mydomain/res" xmlns="jabber:client">
<body>This room is locked from entry until configuration is confirmed.</body>
</message>
RECV:<message type="groupchat" from="room_55a2998f-85f0-4a09-bc44-19f20b11fb02@conference.mydomain" to="pkh@mydomain/res" xmlns="jabber:client">
<body>This room is now unlocked.</body>
</message>
RECV:<iq type="result" id="MX_5" from="room_55a2998f-85f0-4a09-bc44-19f20b11fb02@conference.mydomain" to="pkh@mydomain/res" xmlns="jabber:client" />
OnIq
RECV:<presence from="pnumber@mydomain/res" to="pkh@mydomain" xmlns="jabber:client">
<show>dnd</show>
<status>180</status>
<priority>8</priority>
</presence>
SEND:<message to="room_55a2998f-85f0-4a09-bc44-19f20b11fb02@conference.mydomain" xmlns="jabber:client">
<x xmlns="http://jabber.org/protocol/muc#user">
<invite to="demo4@mydomain/">
<reason>come room~</reason>
</invite>
</x>
</message>
RECV:<message to="pkh@mydomain/res" from="room_55a2998f-85f0-4a09-bc44-19f20b11fb02@conference.mydomain" type="error" xmlns="jabber:client">
<x xmlns="http://jabber.org/protocol/muc#user">
<invite to="demo4@mydomain/">
<reason>come room~</reason>
</invite>
</x>
<error code="400" type="modify">
<jid-malformed xmlns="urn:ietf:params:xml:ns:xmpp-stanzas" />
</error>
</message>
chatroom come in user..
_MucManager.Invite(dropJid, _roomJid, "come room.")
what is mean?
dropJid Resource ?
dropJid resource "Res" Setting ----> Success!
dropJid.resouce = "" Setting ----> Error?
why?
my xml data ...
why error?
RECV:<presence from="pnumber@mydomain/res" to="pkh@mydomain" xmlns="jabber:client">
<show>dnd</show>
<status>180</status>
<priority>8</priority>
</presence>
RECV:<presence from="pnumber@mydomain/res" to="pkh@mydomain" xmlns="jabber:client">
<status>180</status>
<priority>10</priority>
</presence>
SEND:
RECV:<presence to="pkh@mydomain/res" from="room_55a2998f-85f0-4a09-bc44-19f20b11fb02@conference.mydomain/rrrrrr" xmlns="jabber:client">
<x xmlns="http://jabber.org/protocol/muc#user">
<item jid="pkh@mydomain/res" affiliation="owner" role="moderator" />
<status code="201" />
</x>
</presence>
SEND:<iq id="MX_5" type="set" to="room_55a2998f-85f0-4a09-bc44-19f20b11fb02@conference.mydomain" xmlns="jabber:client">
<query xmlns="http://jabber.org/protocol/muc#owner">
<x type="submit" xmlns="jabber:x:data" />
</query>
</iq>
RECV:<message type="groupchat" from="room_55a2998f-85f0-4a09-bc44-19f20b11fb02@conference.mydomain" to="pkh@mydomain/res" xmlns="jabber:client">
<body>This room is locked from entry until configuration is confirmed.</body>
</message>
RECV:<message type="groupchat" from="room_55a2998f-85f0-4a09-bc44-19f20b11fb02@conference.mydomain" to="pkh@mydomain/res" xmlns="jabber:client">
<body>This room is now unlocked.</body>
</message>
RECV:<iq type="result" id="MX_5" from="room_55a2998f-85f0-4a09-bc44-19f20b11fb02@conference.mydomain" to="pkh@mydomain/res" xmlns="jabber:client" />
OnIq
RECV:<presence from="pnumber@mydomain/res" to="pkh@mydomain" xmlns="jabber:client">
<show>dnd</show>
<status>180</status>
<priority>8</priority>
</presence>
SEND:<message to="room_55a2998f-85f0-4a09-bc44-19f20b11fb02@conference.mydomain" xmlns="jabber:client">
<x xmlns="http://jabber.org/protocol/muc#user">
<invite to="demo4@mydomain/">
<reason>come room~</reason>
</invite>
</x>
</message>
RECV:<message to="pkh@mydomain/res" from="room_55a2998f-85f0-4a09-bc44-19f20b11fb02@conference.mydomain" type="error" xmlns="jabber:client">
<x xmlns="http://jabber.org/protocol/muc#user">
<invite to="demo4@mydomain/">
<reason>come room~</reason>
</invite>
</x>
<error code="400" type="modify">
<jid-malformed xmlns="urn:ietf:params:xml:ns:xmpp-stanzas" />
</error>
</message>