git » msnlib » commit 85bddf7

Ignore kopete's keepalive messages.

author Alberto Bertogli
2007-04-28 17:21:50 UTC
committer Alberto Bertogli
2007-04-28 17:21:50 UTC
parent d48bab7d55cbb218648fe1536ad6d11f1764734b

Ignore kopete's keepalive messages.

msn +3 -0

diff --git a/msn b/msn
index f2769ec..6316324 100644
--- a/msn
+++ b/msn
@@ -1463,6 +1463,9 @@ def cb_msg(md, type, tid, params, sbd):
 	elif headers.has_key('Content-Type') and headers['Content-Type'] == 'text/x-clientcaps':
 		# ignore the x-clientcaps messages generated from gaim
 		pass
+	elif headers.has_key('Content-Type') and headers['Content-Type'] == 'text/x-keepalive':
+		# ignore kopete's keepalive messages
+		pass
 	else:
 		# messages
 		m.users[email].priv['typing'] = 0