X-Git-Url: https://code.delx.au/pymsnt/blobdiff_plain/7ad83eb9ccd11e0e213e2f3da81029358f84c04a..7b5368b86bbb09516dd47ef8a651b893ac291df3:/src/legacy/glue.py diff --git a/src/legacy/glue.py b/src/legacy/glue.py index 769900b..efcd32f 100644 --- a/src/legacy/glue.py +++ b/src/legacy/glue.py @@ -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)