aboutsummaryrefslogtreecommitdiff
path: root/lib/mauve/notification.rb
diff options
context:
space:
mode:
authorPatrick J Cherry <patrick@bytemark.co.uk>2012-04-17 21:26:49 +0100
committerPatrick J Cherry <patrick@bytemark.co.uk>2012-04-17 21:26:49 +0100
commit4c99233f3b3112cd2be5ab6fd5d6e7c1c344406b (patch)
treeca5a7c3659b5aa3be4ecf40af95ef24870c09e7c /lib/mauve/notification.rb
parent3a579efcd3ea7e4362f7abeb4138c4087e6f13c1 (diff)
* The notification buffer is now used to store Alerts/AlertChangeds and times
to notify about, rather than notifications to be sent. * Fixed up the debug notifier a bit more. * Using the debug notifier extras more now.
Diffstat (limited to 'lib/mauve/notification.rb')
-rw-r--r--lib/mauve/notification.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mauve/notification.rb b/lib/mauve/notification.rb
index 522f9fa..3c902a2 100644
--- a/lib/mauve/notification.rb
+++ b/lib/mauve/notification.rb
@@ -239,7 +239,7 @@ module Mauve
if already_sent_to.include?(person.username)
logger.info("Already sent notification of #{alert} to #{person.username}")
else
- Server.notification_push([person, level, alert])
+ person.send_alert(level, alert)
already_sent_to << person.username
end
end