Ticket #533: statushistory_parse.patch

File statushistory_parse.patch, 0.7 kB (added by FMulder, 9 months ago)
  • StatusHistory.py

    old new  
    2323import pango 
    2424 
    2525from time import * 
     26from emesenelib.common import unescape 
    2627 
    2728 
    2829class MainClass( Plugin.Plugin ): 
     
    121122    def addEntry(self, status, email = None): 
    122123        '''add a new entry to the liststore''' 
    123124        if email != None: 
    124             nick = self.controller.msn.contactManager.getContactNick(email) 
     125            nick = unescape(self.controller.unifiedParser.getParser( 
     126                        self.controller.msn.contactManager.getContactNick(email)).get()) 
    125127        else: 
    126128            nick = self.controller.msn.user 
    127129