It's the changes in chatwindow.tcl that causes this...
Revision where that file was updated is 10910. No changes have been made to that file after that.
Using a chatwindow.tcl prior to that does not cause this problem.
The cause is the removal of:
if { [::MSN::usersInChat $chatid] == $chatid } {
set usr_name $chatid
}
Wich if I'm not totally mistaken screws up this test?
if { $new_window == 1 || [::config::getKey sound_on_first_message 0] == 0 } {
#If no focus, and it's a message event, do something to the window
if { (([::config::getKey soundactive] == "1" && $usr_name != [::config::getKey login]) || \
[string first ${win_name} [focus]] != 0) && ($msg != "" || [::config::getKey sound_on_first_message 0] == 1)} {
play_sound type.wav
}
}