From dd67ba100631a31ddbcce92cf22492999a58d03a Mon Sep 17 00:00:00 2001 From: Travis Shirk Date: Wed, 14 Sep 2005 01:27:37 +0000 Subject: [PATCH] Don't send chatstates to offline contacts; closes #913 --- src/tabbed_chat_window.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/tabbed_chat_window.py b/src/tabbed_chat_window.py index c5d4d86ac..1e2301855 100644 --- a/src/tabbed_chat_window.py +++ b/src/tabbed_chat_window.py @@ -569,6 +569,10 @@ timestamp, contact): # so we cannot send chatstate anymore return + # Don't send chatstates to offline contacts + if contact.show == 'offline': + return + if contact.chatstate is False: # jid cannot do jep85 return