forked from GNUsocial/gnu-social
Twitter-compatible API - location_update was spitting out the wrong profile. Fixed.
darcs-hash:20080721174438-ca946-1f1ddc79f8117561e98a17b143714f5daae1283e.gz
This commit is contained in:
parent
e304f42b47
commit
80facfa16d
@ -80,9 +80,11 @@ class TwitapiaccountAction extends TwitterapiAction {
|
||||
}
|
||||
|
||||
common_broadcast_profile($profile);
|
||||
$type = $apidata['content-type'];
|
||||
|
||||
$apidata['api_arg'] = $user->id;
|
||||
$this->show($args, $apidata);
|
||||
$this->init_document($type);
|
||||
$this->show_profile($profile, $type);
|
||||
$this->end_document($type);
|
||||
|
||||
exit();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user