fix call to get_status_message

This commit is contained in:
Yann Leboulanger 2008-08-04 13:48:36 +00:00
parent 1a3a795908
commit 7eb30a1f77
1 changed files with 4 additions and 3 deletions

View File

@ -2837,12 +2837,13 @@ class Interface:
shows[show] = [a]
else:
shows[show].append(a)
for show in shows:
message = self.roster.get_status_message(show)
def on_message(message):
if message is None:
continue
return
for a in shows[show]:
self.roster.send_status(a, show, message)
for show in shows:
message = self.roster.get_status_message(show, on_message)
return False
def show_systray(self):