Description
-
Called when chat room settings are received.
Return Type
-
None
Syntax
-
object.ChatRoomData Owner,
Room
The ChatRoomData Method syntax has these
parts:
Remarks
-
This method is called only if you
implemented IwodXMPPNotify interface in your application,
and wodXMPP.Notification
property has received reference to
instance of your implementation.
Called as a result of
GetSettings
method, to obtain possible settings for the chatroom - when you have
sufficient privileges to do so. Usually you will change room
settings in this notification method, 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
IwodXMPPNotify_ChatRoomData(ByVal Owner As
WODXMPPCOMLib.IwodXMPPCom, ByVal Room As
WODXMPPCOMLib.IXMPPChatRoom)
If Room.Settings.Show("Chatroom details:",
Me.hWnd) Then
Room.SaveSettings
End If
End Sub
|