Merge pull request 'Bluesky: Functionality moved to the core' (#1580) from heluecht/friendica-addons:bs-password into 2024.09-rc
Reviewed-on: #1580 Reviewed-by: Hypolite Petovan <hypolite@mrpetovan.com>
This commit is contained in:
commit
4437f79380
2 changed files with 97 additions and 1169 deletions
1264
bluesky/bluesky.php
1264
bluesky/bluesky.php
File diff suppressed because it is too large
Load diff
|
@ -564,7 +564,7 @@ function tumblr_send(array &$b)
|
||||||
if ($result->meta->status < 400) {
|
if ($result->meta->status < 400) {
|
||||||
Logger::info('Successfully performed activity', ['verb' => $b['verb'], 'deleted' => $b['deleted'], 'meta' => $result->meta, 'response' => $result->response]);
|
Logger::info('Successfully performed activity', ['verb' => $b['verb'], 'deleted' => $b['deleted'], 'meta' => $result->meta, 'response' => $result->response]);
|
||||||
if (!$b['deleted'] && !empty($result->response->id_string)) {
|
if (!$b['deleted'] && !empty($result->response->id_string)) {
|
||||||
Item::update(['extid' => 'tumblr::' . $result->response->id_string], ['id' => $b['id']]);
|
Item::update(['extid' => 'tumblr::' . $result->response->id_string], ['guid' => $b['guid']]);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
Logger::notice('Error while performing activity', ['verb' => $b['verb'], 'deleted' => $b['deleted'], 'meta' => $result->meta, 'response' => $result->response, 'errors' => $result->errors, 'params' => $params]);
|
Logger::notice('Error while performing activity', ['verb' => $b['verb'], 'deleted' => $b['deleted'], 'meta' => $result->meta, 'response' => $result->response, 'errors' => $result->errors, 'params' => $params]);
|
||||||
|
|
Loading…
Reference in a new issue