chat_message_post (public, deprecated)

 chat_message_post room_id user_id message moderator_p

Defined in packages/chat/tcl/chat-procs.tcl

Deprecated. Invoking this procedure generates a warning.

Post message to the chat room and broadcast to all applet clients. Used by ajax + html.

Parameters:
room_id (required)
user_id (required)
message (required)
moderator_p (required)
See Also:
  • xo::db::chat_room

Partial Call Graph (max 5 caller/called nodes):
%3 ad_log_deprecated ad_log_deprecated (public) chat_message_post chat_message_post chat_message_post->ad_log_deprecated

Testcases:
No testcase defined.
Source code:
ad_log_deprecated proc chat_message_post
    set r [::xo::db::Class get_instance_from_db -id $room_id]
    $r post_message -msg $message -creation_user $user_id
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: