do not print ": " in vcard window if there is no status message

This commit is contained in:
Yann Leboulanger 2005-05-20 15:50:44 +00:00
parent 58ab395501
commit 056ff7bd28
1 changed files with 3 additions and 1 deletions

View File

@ -126,7 +126,9 @@ class Vcard_window:
resources = self.user.resource + ' (' + str(self.user.priority) + ')'
if not self.user.status:
self.user.status = ''
stats = self.user.show + ': ' + self.user.status
stats = self.user.show
if self.user.status:
stats += ': ' + self.user.status
gajim.connections[self.account].request_os_info(self.user.jid,
self.user.resource)
self.os_info = {0: {'resource': self.user.resource, 'client': '',