print a user friendly show when a contact change his status

This commit is contained in:
Yann Leboulanger 2005-05-20 16:04:12 +00:00
parent 5293788dc1
commit 1d4d9f5229
1 changed files with 2 additions and 1 deletions

View File

@ -420,8 +420,9 @@ class Roster_window:
name = user.name
if user.resource != '':
name += '/' + user.resource
uf_show = helpers.get_uf_status(show)
self.plugin.windows[account]['chats'][jid].print_conversation(
_('%s is now %s (%s)') % (name, show, status), jid, 'status')
_('%s is now %s (%s)') % (name, uf_show, status), jid, 'status')
def on_info(self, widget, user, account):
'''Call vcard_information_window class to display user's information'''