xmppRoomGetName()
This function allows you to query the name of a chat room.
Synopsis
string xmppRoomGetName(int clientId, string room);
Parameter
| Parameter | Description | 
|---|---|
| clientid | The unique client id for the client channel. The id is returned by the xmppOpen() function. | 
| room | The room (name )whose name is queried, e.g. ("roomname@conference.jabber.at") | 
Return Value
Returns the chat rooms name.
Errors
Errors can be queried via getLastError().
Description
This function allows you to query the name of a chat room.
The following example shows how to query the name of a chat room.
Note: 
            You have to replace the code: 
p =
                    xmppOpen("winccoa.etm@jabber.at","123677", "callback", m); DebugN("xmppOpen:",
                    p); by your own user and password. This code is an example!#uses "CtrlXmpp"
int p;
main(mapping event)
{
  p = xmppOpen("winccoa.etm@jabber.at","123677");
  DebugN("xmppOpen:", p);
  /*Returns the rooms name, which was set during creation of the room */
  string gn = xmppRoomGetName(p, string room);
  DebugN("Rooms name:", gn);
}
        Assignment
Availability
CTRL
