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

View file

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