Index: openacs-4/packages/chat/www/room-enter.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/chat/www/room-enter.tcl,v diff -u -N -r1.10 -r1.11 --- openacs-4/packages/chat/www/room-enter.tcl 7 Aug 2017 23:48:07 -0000 1.10 +++ openacs-4/packages/chat/www/room-enter.tcl 28 Sep 2018 11:44:23 -0000 1.11 @@ -8,8 +8,7 @@ @cvs-id $Id$ } { room_id:naturalnum,notnull - client:trim -} +} set user_id [ad_conn user_id] @@ -25,21 +24,4 @@ ad_script_abort } -set default_client [parameter::get -parameter "DefaultClient" -default "ajax"] - -if {$default_client eq "java"} { - chat_start_server -} - -switch $client { - "html" - "ajax" - "html-chat-script" { - ns_log Notice "YY room-enter: has_entered_the room" - # apisano: I don't think this code should be here anymore, as - # message about user entering the room is already issued by - # the parent chat class in xotcl-core when we issue the login - # method - # chat_message_post $room_id $user_id "[_ chat.has_entered_the_room]." "1" - } -} - -ad_returnredirect "chat?room_id=$room_id&client=$client" +ad_returnredirect "chat?room_id=$room_id"