]> git.mxchange.org Git - friendica.git/blobdiff - src/Model/Mail.php
Merge pull request #10969 from MrPetovan/task/remove-private-contacts
[friendica.git] / src / Model / Mail.php
index 75515c5df53c8166e5d0240ea570a4120f6525cf..7cd836610b6ce924650f90f868a902707dc2b63a 100644 (file)
@@ -104,7 +104,7 @@ class Mail
                                'link'  => DI::baseUrl() . '/message/' . $msg['id'],
                        ];
 
-                       notification($notif_params);
+                       DI::notify()->createFromArray($notif_params);
 
                        Logger::info('Mail is processed, notification was sent.', ['id' => $msg['id'], 'uri' => $msg['uri']]);
                }
@@ -187,7 +187,7 @@ class Mail
                }
 
                if (!$convid) {
-                       Logger::log('send message: conversation not found.');
+                       Logger::notice('send message: conversation not found.');
                        return -4;
                }
 
@@ -291,7 +291,7 @@ class Mail
                }
 
                if (!$convid) {
-                       Logger::log('send message: conversation not found.');
+                       Logger::notice('send message: conversation not found.');
                        return -4;
                }