fixes bug on quitter.se, where getUrl returned 400 error for activity notices (which don't have url:s)
This commit is contained in:
parent
6511f2e6cd
commit
dc3d1d2fb7
|
@ -545,8 +545,11 @@ class QvitterPlugin extends Plugin {
|
|||
}
|
||||
else {
|
||||
$twitter_status['is_local'] = false;
|
||||
if($notice->object_type != 'activity') {
|
||||
$twitter_status['external_url'] = $notice->getUrl(true);
|
||||
}
|
||||
}
|
||||
|
||||
if($notice->object_type == 'activity') {
|
||||
$twitter_status['is_activity'] = true;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user