https://reisub.nsupdate.info/git
/
friendica-addons.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
62022ed
)
Show the pseudo-user Administrator instead of a broken image
author
Tobias Hößl
<tobias@hoessl.eu>
Sat, 31 Mar 2012 08:29:13 +0000
(08:29 +0000)
committer
Tobias Hößl
<tobias@hoessl.eu>
Sat, 31 Mar 2012 08:29:13 +0000
(08:29 +0000)
facebook/facebook.php
patch
|
blob
|
history
diff --git
a/facebook/facebook.php
b/facebook/facebook.php
index
33d7d18
..
8fcde40
100755
(executable)
--- a/
facebook/facebook.php
+++ b/
facebook/facebook.php
@@
-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());