Merge pull request #1538 from annando/1504-api-twidere-conversations
API: The "conversation" function can now be called with every message id
This commit is contained in:
commit
8184eac42f
|
@ -1369,6 +1369,10 @@
|
||||||
|
|
||||||
logger('API: api_conversation_show: '.$id);
|
logger('API: api_conversation_show: '.$id);
|
||||||
|
|
||||||
|
$r = q("SELECT `parent` FROM `item` WHERE `id` = %d", intval($id));
|
||||||
|
if ($r)
|
||||||
|
$id = $r[0]["parent"];
|
||||||
|
|
||||||
$sql_extra = '';
|
$sql_extra = '';
|
||||||
|
|
||||||
if ($max_id > 0)
|
if ($max_id > 0)
|
||||||
|
|
Loading…
Reference in a new issue