mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-10 02:18:48 +00:00
Fixing some notices
This commit is contained in:
parent
96925a3a75
commit
225243645e
3 changed files with 8 additions and 1 deletions
|
@ -1978,6 +1978,10 @@ function twitter_update_mentions($body)
|
|||
|
||||
function twitter_convert_share(array $attributes, array $author_contact, $content, $is_quote_share)
|
||||
{
|
||||
if (empty($contact)) {
|
||||
return $content . "\n\n" . $attributes['link'];
|
||||
}
|
||||
|
||||
if ($author_contact['network'] == Protocol::TWITTER) {
|
||||
$mention = '@' . $author_contact['nick'];
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue