From 660d84247ba5863981653f39fcb1e040975bdb93 Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Fri, 7 Aug 2015 18:00:28 +0200 Subject: [PATCH] Fix event when join notifications are on --- vroom | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vroom b/vroom index 6c7da6f..d423b0c 100755 --- a/vroom +++ b/vroom @@ -2122,11 +2122,11 @@ any '/api' => sub { # Send notifications my $recipients = $self->get_email_notifications($room->{name}); foreach my $rcpt (keys %{$recipients}){ - $self->log_event( + $self->log_event({ event => 'join_notification', msg => 'Sending an email to ' . $recipients->{$rcpt}->{email} . ' to inform that someone joined room ' . $room->{name} - ); + }); my $sent = $self->mail( to => $recipients->{$rcpt}->{email}, subject => $subj,