xo::db::chat_room instproc post_message (public)
<instance of xo::db::chat_room> post_message [ -msg msg ] \ [ -creation_user creation_user ] [ -creation_ip creation_ip ]
Defined in /var/www/openacs.org/packages/chat/tcl/xotcl-chat-procs.tcl
Post a message in the chat room. This actually means persisting the message in the database, but only if the chat room is configured to be archived.
- Switches:
- -msg (optional)
- the message
- -creation_user (optional)
- the alleged creation user of the persisted message. Won't be set automatically from the connection
- -creation_ip (optional)
- the alleged creation IP of the persisted message. Won't be set automatically from the connection
- Testcases:
- No testcase defined.