Index: openacs-4/packages/chat/chat.info =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/chat/chat.info,v diff -u -r1.25 -r1.26 --- openacs-4/packages/chat/chat.info 6 Dec 2018 17:10:18 -0000 1.25 +++ openacs-4/packages/chat/chat.info 18 Jan 2019 16:39:36 -0000 1.26 @@ -9,16 +9,16 @@ f t - + Peter Alberer Server based chat with an html and ajax client. - 2018-12-06 + 2019-01-18 OpenACS Adapted by Peter Alberer 2006/03/25 to allow java and ajax to coexist. Adapted by Tekne 2006/03/01 to replace JAVA server with AJAX; make use of generalized chat class from xotcl-core. 0 - + @@ -28,6 +28,7 @@ + Index: openacs-4/packages/chat/tcl/chat-ajax-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/chat/tcl/chat-ajax-procs.tcl,v diff -u -r1.31 -r1.32 --- openacs-4/packages/chat/tcl/chat-ajax-procs.tcl 6 Dec 2018 19:05:22 -0000 1.31 +++ openacs-4/packages/chat/tcl/chat-ajax-procs.tcl 18 Jan 2019 16:39:36 -0000 1.32 @@ -43,8 +43,10 @@ chat_room_get -room_id $chat_id -array c set package_id $c(context_id) set chat_skin [parameter::get -package_id $package_id -parameter ChatSkin] + set chat_avatar_p [parameter::get -package_id $package_id -parameter ShowAvatarP] next -chat_id $chat_id \ -skin $chat_skin \ + -show_avatar $chat_avatar_p \ -package_id $package_id \ -mode $mode \ -path $path \ Index: openacs-4/packages/xowiki/tcl/chat-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/xowiki/tcl/chat-procs.tcl,v diff -u -r1.53 -r1.54 --- openacs-4/packages/xowiki/tcl/chat-procs.tcl 17 Dec 2018 18:00:39 -0000 1.53 +++ openacs-4/packages/xowiki/tcl/chat-procs.tcl 18 Jan 2019 16:39:36 -0000 1.54 @@ -417,6 +417,7 @@ ::xo::ChatClass instproc login { -chat_id {-skin "classic"} + {-show_avatar_p "true"} {-package_id ""} {-mode ""} {-path ""} @@ -571,6 +572,12 @@ }] } + if {$show_avatar_p} { + append html { + + } + } + append html [subst {