]> git.mxchange.org Git - friendica-addons.git/blobdiff - facebook/facebook.php
Show the pseudo-user Administrator instead of a broken image
[friendica-addons.git] / facebook / facebook.php
index 33d7d187007b889e530ec5fb59fbcbcc0f87ae11..8fcde40332e7ff02fc6c94a675e947c16510a017 100755 (executable)
@@ -964,6 +964,9 @@ function facebook_post_hook(&$a,&$b) {
                                                                        'language'     => $r[0]['language'],
                                                                        'to_name'      => $r[0]['username'],
                                                                        'to_email'     => $r[0]['email'],
+                                                                       'source_name'  => t('Administrator'),
+                                                                       'source_link'  => $a->config["system"]["url"],
+                                                                       'source_photo' => $a->config["system"]["url"] . '/images/person-80.jpg',
                                                                ));
                                                                
                                                                set_pconfig($b['uid'], 'facebook', 'session_expired_mailsent', time());