diff options
author | Yann Leboulanger <asterix@lagaule.org> | 2008-08-04 17:48:36 +0400 |
---|---|---|
committer | Yann Leboulanger <asterix@lagaule.org> | 2008-08-04 17:48:36 +0400 |
commit | 7eb30a1f77cf17bff9db40913e9eaf50ed7564ea (patch) | |
tree | 295ef0f0bbc1aba7a2e126733ad82bbd627dabd8 | |
parent | 1a3a795908ae7dc62044bf8041d52875b97e3d48 (diff) |
fix call to get_status_message
-rwxr-xr-x | src/gajim.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/gajim.py b/src/gajim.py index 04faa6352..7d4923696 100755 --- a/src/gajim.py +++ b/src/gajim.py @@ -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): |