mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-12-23 09:20:18 +00:00
Show the pseudo-user Administrator instead of a broken image
This commit is contained in:
parent
62022eddb9
commit
e92b5336f8
1 changed files with 3 additions and 0 deletions
|
@ -964,6 +964,9 @@ function facebook_post_hook(&$a,&$b) {
|
||||||
'language' => $r[0]['language'],
|
'language' => $r[0]['language'],
|
||||||
'to_name' => $r[0]['username'],
|
'to_name' => $r[0]['username'],
|
||||||
'to_email' => $r[0]['email'],
|
'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());
|
set_pconfig($b['uid'], 'facebook', 'session_expired_mailsent', time());
|
||||||
|
|
Loading…
Reference in a new issue