My favorites | Sign in
Project Home Downloads Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions

Issue 65 attachment: dnd_fix.patch (676 bytes)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Index: src/legacy/icqt.py
===================================================================
--- src/legacy/icqt.py (revision 227)
+++ src/legacy/icqt.py (working copy)
@@ -327,7 +327,10 @@
status = msg[0] + ": " + status

status = status.decode(charset, 'replace')
- LogEvent(INFO, self.session.jabberID, "Away (%s, %s) message %s" % (charset, msg[0], status))
+ try:
+ LogEvent(INFO, self.session.jabberID, "Away (%s, %s) message %s" % (charset, msg[0], status))
+ except UnicodeDecodeError:
+ pass

if status == "Away" or status=="I am currently away from the computer." or status=="I am away from my computer right now.":
status = ""
Powered by Google Project Hosting