*
* @see App
*/
-function securemail_settings(App &$a, string &$s){
+function securemail_settings(App &$a, &$s){
if (!local_user()) {
return;
}
}
$subject = 'Friendica - Secure Mail - Test';
- $message = 'This is a test message from your Friendica Secure Mail addon.\n\nBye!';
+ $message = 'This is a test message from your Friendica Secure Mail addon.';
$params = array(
'uid' => local_user(),
* @see App
*/
function securemail_emailer_send_prepare(App &$a, array &$b) {
- if (!x($b,'uid')) {
+ if (!x($b, 'uid')) {
return;
}
$armored_encrypted = wordwrap(
OpenPGP::enarmor($encrypted->to_bytes(), 'PGP MESSAGE'),
64,
- '\n',
+ "\n",
true
);