ChatRoomData Event
    
 

Description

Fires when chat room settings are received.


Syntax

Private Sub object_ChatRoomData(Room)


The ChatRoomData Event syntax has these parts:

Part Description
object A wodXMPP object.
Room A XMPPChatRoom object.

Remarks

Fired as a result of GetSettings method call, to obtain possible settings for the chatroom - when you have sufficient privileges to do so. Usually you will change room settings in this event, and send them back using SaveSettings method.

 

You can use code like this (VB example):

Private Sub Command2_Click()
      Room.GetSettings
End Sub
 
Private Sub wodXMPP1_ChatRoomData(ByVal Room As WODXMPPCOMLib.IXMPPChatRoom)
      If Room.Settings.Show("Chatroom details:", Me.hWnd) Then
            Room.SaveSettings
      End If
End Sub