Fix structure error
This commit is contained in:
parent
0b99c0d98f
commit
a68810301a
|
@ -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'];
|
||||||
|
|
Loading…
Reference in a new issue