Browse Source

API: The "conversation" function can now be called with every message id of a post in that conversation. Not only the parent.

pull/1538/head
Michael Vogel 7 years ago
parent
commit
58aeb1879b
  1. 4
      include/api.php

4
include/api.php

@ -1369,6 +1369,10 @@
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 = '';
if ($max_id > 0)

Loading…
Cancel
Save