Add hook "message_check_safe"

This hook can be used by https://github.com/JohnDoh/Roundcube-Plugin-Global-Address-Book to mark messages as safe whose sender exists in the global address book
pull/64/head
Steffen185 12 years ago
parent d227eda9cb
commit 1a78f13faa

@ -608,6 +608,8 @@ function rcmail_check_safe(&$message)
$message->set_safe(true);
}
}
$RCMAIL->plugins->exec_hook('message_check_safe', array('message' => $message));
break;
case 2: // always

Loading…
Cancel
Save