Fix structure error

This commit is contained in:
Michael 2020-11-29 11:43:07 +00:00
parent 0b99c0d98f
commit a68810301a

View file

@ -917,8 +917,7 @@ class OStatus
$condition = ['item-uri' => $related_uri, 'protocol' => [Conversation::PARCEL_DFRN, $condition = ['item-uri' => $related_uri, 'protocol' => [Conversation::PARCEL_DFRN,
Conversation::PARCEL_DIASPORA_DFRN, Conversation::PARCEL_LEGACY_DFRN, Conversation::PARCEL_DIASPORA_DFRN, Conversation::PARCEL_LEGACY_DFRN,
Conversation::PARCEL_LOCAL_DFRN, Conversation::PARCEL_DIRECT, Conversation::PARCEL_SALMON]]; Conversation::PARCEL_LOCAL_DFRN, Conversation::PARCEL_DIRECT, Conversation::PARCEL_SALMON]];
if (DBA::exists('conversation', $condition)) { $conversation = DBA::selectFirst('conversation', ['source', 'protocol'], $condition);
$conversation = DBA::selectFirst('conversation', ['source', 'protocol'], $condition);
if (DBA::isResult($conversation)) { if (DBA::isResult($conversation)) {
$stored = true; $stored = true;
$xml = $conversation['source']; $xml = $conversation['source'];