X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Fapidirectmessagenew.php;h=b9ac92d77bfc01bb91f87ec67ddde184b48f8347;hb=7ef6c9da437b504f949dc3d7d8c05f8abe36baae;hp=e6c39ce4ac6e6950e34d45abd00abbf2884fb44d;hpb=e28e8cc1d7e3c6683237c86955b7c1da23c02696;p=quix0rs-gnu-social.git diff --git a/actions/apidirectmessagenew.php b/actions/apidirectmessagenew.php index e6c39ce4ac..b9ac92d77b 100644 --- a/actions/apidirectmessagenew.php +++ b/actions/apidirectmessagenew.php @@ -175,7 +175,7 @@ class ApiDirectMessageNewAction extends ApiAuthAction return; } - mail_notify_message($message, $this->user, $this->other); + $message->notify(); if ($this->format == 'xml') { $this->showSingleXmlDirectMessage($message);