X-Git-Url: https://code.delx.au/pymsnt/blobdiff_plain/19ff20f0af940d99614de3c5896e9899af367fd0..7b5368b86bbb09516dd47ef8a651b893ac291df3:/src/legacy/glue.py diff --git a/src/legacy/glue.py b/src/legacy/glue.py index 4584f40..efcd32f 100644 --- a/src/legacy/glue.py +++ b/src/legacy/glue.py @@ -18,7 +18,7 @@ import lang url = "http://msn-transport.jabberstudio.org" -version = "0.11.2-dev" # The transport version +version = "0.11.3-dev" # The transport version mangle = True # XDB '@' -> '%' mangling id = "msn" # The transport identifier @@ -484,8 +484,8 @@ class LegacyConnection(msn.MSNConnection): if not (c and msnContact): return show, ptype = state2presence(msnContact.status) - status = msnContact.personal.decode("utf-8") - screenName = msnContact.screenName.decode("utf-8") + status = msnContact.personal.decode("utf-8", "replace") + screenName = msnContact.screenName.decode("utf-8", "replace") c.updateNickname(screenName, push=False) c.updatePresence(show, status, ptype, force=True)