@@ -6990,7 +6990,7 @@
You have added a third parameter but ::amsn::WinWriteFail accept only two
parameters, please fix.
for the rest...
up!
Please reproduce this:
*write an oim to an offline user!
*open log conversation
You'll see that oim is logged twice, first time with your nick and second
time with user_login of your friend...
This is because we call twice putlog proc, the first time when the
OIM/message is shown into our chatwindow, the second time when we call
::OIM_GUI::MessageSend. In fact there is a proc that calls putlog again
(with wrong parameters... for this we see user_login instead of our
nick...). In fact if we answer no to asksendoim, we'll see in log
conversation the message, but only once.
nosendoim could be: you have chose not to send (this/the following) Offline
message
without :
Thanks.
Index: gui.tcl
===================================================================
--- gui.tcl (revisione 7992)
+++ gui.tcl (copia locale)
@@ -6990,7 +6990,7 @@
proc MessageSendCallback { chatid error } {
if {![string match *success* $error]} {
- ::amsn::WinWriteFail $chatid "($error)" red
+ ::amsn::WinWriteFail $chatid "($error)"
}
}
@@ -7009,9 +7009,9 @@
if { $answer == "yes"} {
set ::OIM_GUI::oim_asksend_[string map {: _} ${chatid}
] 0
::MSNOIM::sendOIMMessage [list
::OIM_GUI::MessageSendCallback $chatid] $email $txt
- #loging
+ } else {
if {[::config::getKey keep_logs]} {
- ::log::PutLog $chatid $email $txt
+ ::log::PutLog $chatid "[trans nosendoim]" "$txt"
}
}
return $answer
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Amsn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amsn-devel