Skip to content
Snippets Groups Projects
Commit 64e66817 authored by dkirov's avatar dkirov
Browse files

print the rest of the names

parent 664e00c4
No related branches found
No related tags found
No related merge requests found
......@@ -1145,7 +1145,7 @@ class GroupchatControl(ChatControlBase):
return True
elif command == 'names':
# print the list of participants
nicklist=""
nicklist=''
i=0
for contact in self.iter_contact_rows():
nicklist += '[ %-12.12s ] ' % (contact[C_NICK].decode('utf-8'))
......@@ -1153,7 +1153,9 @@ class GroupchatControl(ChatControlBase):
if i == 3:
i=0
self.print_conversation(nicklist, 'info')
nicklist=""
nicklist=''
if nicklist:
self.print_conversation(nicklist, 'info')
self.clear(self.msg_textview)
return True
elif command == 'help':
......
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