- Kind: Library Files Procedures SQL Files Content Pages
- Publicity: Public Only All
Class ::xowiki::includelet::chat_room Include a chat room chat::Package proc flush_rooms Flush every room supposed to be archived and automatically flushed. chat::Package proc get_user_name Retrieves the username supposed to be displayed in the chat UI: aither the screen name or the person name when the former is missing. chat_message_count Get message count in the room. chat_message_post Post message to the chat room and broadcast to all applet clients. chat_moderator_grant Grant party a chat moderate privilege to this chat room. chat_moderator_revoke Revoke party a chat moderate privilege to this chat room. chat_revoke_moderators Revoke a list of parties of a moderate privilege from this room. chat_room_delete Delete chat room. chat_room_edit Edit information on chat room. chat_room_exists_p Return whether a chat room exists chat_room_get Get all the information about a chat room into an array chat_room_message_delete Delete all message in the room. chat_room_moderate_p Return the moderate status of this chat room. chat_room_name Get chat room name. chat_room_new Create new chat room. chat_transcript_delete Delete chat transcript. chat_transcript_edit Edit chat transcript. chat_transcript_new Create chat transcript. chat_user_ban Explicit ban user from this chat room. chat_user_grant Grant party a chat privilege to this chat room. chat_user_name Return display name of this user to use in chat. chat_user_revoke Revoke party a chat privilege to this chat room. chat_user_unban unban user from this chat room. room_active_status Get room active status. xo::db::chat_room instproc ban_user Bans specified user from the chat room xo::db::chat_room instproc count_messages Count messages currently persisted for this chat room. xo::db::chat_room instproc create_transcript Creates a new transcript of all current chat room messages. xo::db::chat_room instproc delete Delete the chat room and all of its transcripts xo::db::chat_room instproc delete_messages Delete all persisted messages from the chat room. xo::db::chat_room instproc flush Save all currently persisted messages for this chat room as a new transcript and then delete them. xo::db::chat_room instproc grant_creator Grants operative privileges to the chat creator (when available on the chat room object). xo::db::chat_room instproc grant_moderator Make specified party the chat room moderator xo::db::chat_room instproc grant_user Grants operative privileges to the specified party. xo::db::chat_room instproc post_message Post a message in the chat room. xo::db::chat_room instproc revoke_moderator Revoke moderation rights on the chat room for specified party xo::db::chat_room instproc revoke_user Revokes operative privileges to the specified party. xo::db::chat_room instproc save_new Create a new chat room and make sure its creator is granted the necessary privileges xo::db::chat_room instproc transcript_messages Formats the current content of a chat room as a list of messages formatted so they can be displayed or stored in the transcript. xo::db::chat_room instproc unban_user Lift ban on specified user from the chat room xo::db::chat_transcript instproc save_new Save a new transcript, making sure its creator is granted the necessary operative privileges.