aboutsummaryrefslogtreecommitdiff
path: root/lib/mauve/notifier.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/mauve/notifier.rb')
-rw-r--r--lib/mauve/notifier.rb9
1 files changed, 2 insertions, 7 deletions
diff --git a/lib/mauve/notifier.rb b/lib/mauve/notifier.rb
index e62f7f4..5bedeb9 100644
--- a/lib/mauve/notifier.rb
+++ b/lib/mauve/notifier.rb
@@ -48,7 +48,6 @@ module Mauve
end
def start
- super
if Configuration.current.notification_methods['xmpp']
#
@@ -76,19 +75,15 @@ module Mauve
Configuration.current.people[username].xmpp = jid unless jid.nil?
end
end
+ super
end
def stop
+ super
if Configuration.current.notification_methods['xmpp']
Configuration.current.notification_methods['xmpp'].close
end
- super
-
- #
- # flush the queue
- #
- main_loop
end
end