hi,
found some time to continue with my plugin lately but i have a problem whereby if i open a chat to another user, my code works, but if the other user opens the window to me, it doesn't.
it seems that the $chatid variable is 0 when the other user initiates the chat to me, so i can't get the right window number using [::ChatWindow::For $chatid]
here's what i have:
proc populate_chatwindow {event evpar} {
upvar 2 $evpar args
set chatid $args(chatid)
set window [::ChatWindow::For $chatid]
set placement $window.top.padding
pack [create_ui $window $placement $chatid] -fill x
}
cheers