]> git.mxchange.org Git - friendica.git/blobdiff - src/Model/Mail.php
Improved language detection
[friendica.git] / src / Model / Mail.php
index e42cb4ca43a14f425482fce306d356fc7711ced3..e494119cb8d9731b26114a931643d6b09af22629 100644 (file)
@@ -154,7 +154,7 @@ class Mail
                Photo::setPermissionFromBody($body, local_user(), $me['id'],  '<' . $contact['id'] . '>', '', '', '');
 
                $guid = System::createUUID();
-               $uri = Item::newURI(local_user(), $guid);
+               $uri = Item::newURI($guid);
 
                $convid = 0;
                $reply = false;
@@ -186,7 +186,7 @@ class Mail
                }
 
                if (!$convid) {
-                       Logger::notice('send message: conversation not found.');
+                       Logger::warning('conversation not found.');
                        return -4;
                }
 
@@ -266,7 +266,7 @@ class Mail
                }
 
                $guid = System::createUUID();
-               $uri = Item::newURI(local_user(), $guid);
+               $uri = Item::newURI($guid);
 
                $me = Contact::getByURL($replyto);
                if (!$me['name']) {
@@ -290,7 +290,7 @@ class Mail
                }
 
                if (!$convid) {
-                       Logger::notice('send message: conversation not found.');
+                       Logger::warning('conversation not found.');
                        return -4;
                }