Skip to content
Snippets Groups Projects
Commit 58d24341 authored by nkour's avatar nkour
Browse files

nothing

parent 4b4bc7c2
No related branches found
No related tags found
No related merge requests found
......@@ -497,7 +497,7 @@ def send_gc_message(self, message):
return # don't print the command
elif message.startswith('/msg '): #eg. /msg fooman hello man what's up
text_after_msg_command = message[5:].strip()
text_after_msg_command = message[5:].strip() # 5 is len('/msg ')
splitted_text_after_msg_command = text_after_msg_command.split()
if len(splitted_text_after_msg_command) >= 2: #dont accept /msg foo
nicks = self.get_nick_list(room_jid)
......
......@@ -218,7 +218,7 @@ def on_clicked(self, widget, event):
win = self.plugin.roster.window
if event.button == 1: # Left click
if len(self.jids) == 0:
if win.flags() & gtk.VISIBLE:
if win.get_property('visible'):
win.hide()
else:
win.present()
......
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