mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-10 02:18:48 +00:00
some more get_hostname to getHostName changes
This commit is contained in:
parent
574bf66564
commit
3f6239bb2b
8 changed files with 10 additions and 10 deletions
|
@ -91,7 +91,7 @@ function mailstream_addon_admin_post ($a) {
|
|||
|
||||
function mailstream_generate_id($a, $uri) {
|
||||
// http://www.jwz.org/doc/mid.html
|
||||
$host = $a->get_hostname();
|
||||
$host = $a->getHostName();
|
||||
$resource = hash('md5', $uri);
|
||||
$message_id = "<" . $resource . "@" . $host . ">";
|
||||
logger('mailstream: Generated message ID ' . $message_id . ' for URI ' . $uri, LOGGER_DEBUG);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue