Skip to content
Snippets Groups Projects
Commit 056ff7bd authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

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

parent 58ab3955
No related branches found
No related tags found
No related merge requests found
......@@ -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': '',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment