From 0158db600144917f0b615c960bbb5c551971f749 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Fri, 18 Apr 2008 18:35:53 +0000 Subject: [PATCH] show better error message when sending message to a room where we are no more connected. fixes #3870 --- src/common/connection_handlers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/connection_handlers.py b/src/common/connection_handlers.py index 0a155cec1..ed7ce9cfc 100644 --- a/src/common/connection_handlers.py +++ b/src/common/connection_handlers.py @@ -1675,7 +1675,7 @@ class ConnectionHandlers(ConnectionVcard, ConnectionBytestream, ConnectionDisco, msgtxt = decmsg encrypted = True if mtype == 'error': - error_msg = msg.getError() + error_msg = msg.getErrorMsg() if not error_msg: error_msg = msgtxt msgtxt = None