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)