Fixed indenting

This commit is contained in:
Roland Häder 2022-06-18 05:04:04 +02:00
parent adb4aea6ad
commit aaf5c323b6
No known key found for this signature in database
GPG Key ID: C82EDE5DDFA0BA77

View File

@ -303,9 +303,11 @@ class Diaspora
} }
} }
return ['message' => (string)Strings::base64UrlDecode($base->data), return [
'message' => (string)Strings::base64UrlDecode($base->data),
'author' => XML::unescape($author_addr), 'author' => XML::unescape($author_addr),
'key' => (string)$key]; 'key' => (string)$key
];
} }
/** /**
@ -445,9 +447,11 @@ class Diaspora
Logger::notice('Message verified.'); Logger::notice('Message verified.');
return ['message' => (string)$inner_decrypted, return [
'message' => (string)$inner_decrypted,
'author' => XML::unescape($author_link), 'author' => XML::unescape($author_link),
'key' => (string)$key]; 'key' => (string)$key
];
} }