Steffen185
2013-03-23 1a78f13faab8c107c0a368091229b4445b904fff
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
1 files modified
2 ■■■■■ changed files
program/steps/mail/func.inc 2 ●●●●● patch | view | raw | blame | history
program/steps/mail/func.inc
@@ -608,6 +608,8 @@
            $message->set_safe(true);
          }
        }
        $RCMAIL->plugins->exec_hook('message_check_safe', array('message' => $message));
        break;
      case 2: // always