Fixed indenting

This commit is contained in:
Roland Häder 2022-06-18 05:04:04 +02:00
parent adb4aea6ad
commit aaf5c323b6
Signed by: roland
GPG key ID: C82EDE5DDFA0BA77

View file

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