mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-17 04:45:16 +02:00
OStatus conversations: Fixed a bug when a message hadn't got an id.
vier: Some more changes to make the side menu static. In the index.php I did a small change to make friendica compatible with the android client for diaspora.
This commit is contained in:
parent
86e19dda22
commit
c40c61c106
3 changed files with 25 additions and 2 deletions
|
@ -90,6 +90,12 @@ function complete_conversation($itemid, $conversation_url, $only_add_conversatio
|
|||
$items = array_reverse($conv_as->items);
|
||||
|
||||
foreach ($items as $single_conv) {
|
||||
if (@!$single_conv->id AND $single_conv->provider->url AND $single_conv->statusnet_notice_info->local_id)
|
||||
$single_conv->id = $single_conv->provider->url."notice/".$single_conv->statusnet_notice_info->local_id;
|
||||
|
||||
if (@!$single_conv->id)
|
||||
continue;
|
||||
|
||||
if ($first_id == "") {
|
||||
$first_id = $single_conv->id;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue