From 53f9e49c82cab8a156ec7ea04adf9bcfca8af54d Mon Sep 17 00:00:00 2001 From: rettenbe Date: Thu, 6 Nov 2008 08:44:08 +0000 Subject: [PATCH] fixes delivery probelem for single user messages git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12930 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-si/gosa-si-server | 2 +- gosa-si/server/events/gosaTriggered.pm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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; -- 2.30.2