mirror of
https://github.com/friendica/friendica
synced 2025-04-19 10:30:10 +00:00
Merge branch 'develop' into mastodon-status-post-with-title
This commit is contained in:
commit
34c4849341
23 changed files with 291 additions and 212 deletions
|
@ -105,8 +105,10 @@ class FollowRequests extends BaseApi
|
|||
foreach ($introductions as $key => $introduction) {
|
||||
try {
|
||||
self::setBoundaries($introduction->id);
|
||||
$return[] = DI::mstdnFollowRequest()->createFromIntroduction($introduction);
|
||||
} catch (HTTPException\InternalServerErrorException $exception) {
|
||||
$return[] = DI::mstdnAccount()->createFromContactId($introduction->cid, $introduction->uid);
|
||||
} catch (HTTPException\InternalServerErrorException
|
||||
| HTTPException\NotFoundException
|
||||
| \ImagickException $exception) {
|
||||
DI::intro()->delete($introduction);
|
||||
unset($introductions[$key]);
|
||||
}
|
||||
|
|
|
@ -80,7 +80,7 @@ class Notify extends BaseModule
|
|||
$msg = Diaspora::decodeRaw($postdata, '', true);
|
||||
if (!is_array($msg)) {
|
||||
// We have to fail silently to be able to hand it over to the salmon parser
|
||||
$this->logger->warning('Diaspora::decodeRaw() has failed for some reason.');
|
||||
$this->logger->warning('Diaspora::decodeRaw() has failed for some reason.', ['post-data' => $postdata]);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue