aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/diaspora.php13
1 files changed, 13 insertions, 0 deletions
diff --git a/include/diaspora.php b/include/diaspora.php
index d1e975a89..2d139c77c 100644
--- a/include/diaspora.php
+++ b/include/diaspora.php
@@ -1223,6 +1223,19 @@ function diaspora_conversation($importer,$xml,$msg) {
dbesc(datetime_convert()),
intval($conversation['id'])
);
+
+ require_once('include/enotify.php');
+ notification(array(
+ 'type' => NOTIFY_MAIL,
+ 'notify_flags' => $importer['notify-flags'],
+ 'language' => $importer['language'],
+ 'to_name' => $importer['username'],
+ 'to_email' => $importer['email'],
+ 'item' => array('subject' => $subject, 'body' => $body),
+ 'source_name' => $person['name'],
+ 'source_link' => $person['url'],
+ 'source_photo' => $person['thumb'],
+ ));
}
return;