From: rettenbe Date: Thu, 6 Nov 2008 08:44:08 +0000 (+0000) Subject: fixes delivery probelem for single user messages X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=53f9e49c82cab8a156ec7ea04adf9bcfca8af54d;p=gosa.git fixes delivery probelem for single user messages git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12930 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-si/gosa-si-server b/gosa-si/gosa-si-server index 80c1d78cb..ffd8f8591 100755 --- a/gosa-si/gosa-si-server +++ b/gosa-si/gosa-si-server @@ -1895,7 +1895,7 @@ sub watch_for_new_messages { my %receiver_h; foreach my $receiver (@message_to_l) { if ($receiver =~ /^u_([\s\S]*)$/) { - $receiver_h{$receiver} = 0; + $receiver_h{$1} = 0; } elsif ($receiver =~ /^g_([\s\S]*)$/) { my $group_name = $1; # fetch all group members from ldap and add them to receiver hash diff --git a/gosa-si/server/events/gosaTriggered.pm b/gosa-si/server/events/gosaTriggered.pm index 0639c0213..714a4eef4 100644 --- a/gosa-si/server/events/gosaTriggered.pm +++ b/gosa-si/server/events/gosaTriggered.pm @@ -144,7 +144,7 @@ sub send_user_msg { if (not $res == 0) { &main::daemon_log("$session_id ERROR: gosaTriggered.pm: cannot add message to message_db: $res", 1); } else { - &main::daemon_log("$session_id INFO: gosaTriggered.pm: message with subject '$subject' successfully added to message_db", 5); + &main::daemon_log("$session_id INFO: gosaTriggered.pm: message with subject '".&decode_base64($subject)."' successfully added to message_db", 5); } return;