Click or drag to resize
ChatRoomHelperConvertRoomToData Method (RoomState, Boolean)
Makes ChatRoomData from information contained in ChatRoomInfo. Property IsRemoved is set based on: - if room is disabled, IsRemoved is true - if user is anonymous and room does not allow anonymous users, IsRemoved is set to true - otherwise it is set to false

Namespace: CMS.Chat
Assembly: CMS.Chat (in CMS.Chat.dll) Version: 11.0.0
Syntax
C#
public static ChatRoomData ConvertRoomToData(
	RoomState roomState,
	bool isUserAnonymous
)

Parameters

roomState
Type: CMS.ChatRoomState
Room state
isUserAnonymous
Type: SystemBoolean
Anonymous state of current user

Return Value

Type: ChatRoomData
ChatRoomData
See Also