Bug#333307: amsn opens empty chat windows for contacts

2005-10-11 Thread Bernardo Arlandis Mañó
Package: amsn
Version: 0.94-2

Hi.
I think it's since first MSN7 betas were released, some chat windows open from 
online contacts without any action. It's very annoying. It happens with 3 
debian etch machines I use, all i386. And I know from one user using ubuntu 
default installation also with this problem.

Attached is a very simple patch I've made that solves the problem.

Best regards.
Bernardo
--- chatwindow.tcl.orig	2005-10-11 12:45:12.0 +0200
+++ chatwindow.tcl	2005-10-10 11:53:57.0 +0200
@@ -309,6 +309,10 @@
 	#  - [msg ] = [NOT REQUIRED] The message sent to us (first message)
 	#  - [usr_name ] = [NOT REQUIRED] Is the user who sends the message
 	proc MakeFor { chatid {msg } {usr_name } } {
+		if { $msg== } {
+			return 0;
+		}
+
 		set win_name [::ChatWindow::For $chatid]
 
 		# If there wasn't a window created and assigned to $chatid, let's create one


Bug#333307: amsn opens empty chat windows for contacts

2005-10-11 Thread Bernardo Arlandis Mañó
(Sorry, I hope this one reads better.)

Hi.
I think it's since first MSN7 betas were released, some chat windows open from
online contacts without any action. It's very annoying. It happens with 3 debian
etch machines I use, all i386. And I know from one user using ubuntu default
installation also with this problem.

Attached is a very simple patch I've made that solves the problem.

Best regards.
Bernardo


--- chatwindow.tcl.orig	2005-10-11 12:45:12.0 +0200
+++ chatwindow.tcl	2005-10-10 11:53:57.0 +0200
@@ -309,6 +309,10 @@
 	#  - [msg ] = [NOT REQUIRED] The message sent to us (first message)
 	#  - [usr_name ] = [NOT REQUIRED] Is the user who sends the message
 	proc MakeFor { chatid {msg } {usr_name } } {
+		if { $msg== } {
+			return 0;
+		}
+
 		set win_name [::ChatWindow::For $chatid]
 
 		# If there wasn't a window created and assigned to $chatid, let's create one




Bug#333307: amsn opens empty chat windows for contacts

2005-10-11 Thread Theodore Karkoulis
On Tuesday 11 October 2005 13:50, Bernardo Arlandis Mañó wrote:
 Package: amsn
 Version: 0.94-2

 Hi.
 I think it's since first MSN7 betas were released, some chat windows open
 from online contacts without any action. It's very annoying. It happens
 with 3 debian etch machines I use, all i386. And I know from one user using
 ubuntu default installation also with this problem.
Yes i have the same problem too

 Attached is a very simple patch I've made that solves the problem.
i will add the patch. thanks

Theo