Merge pull request 'Bluesky: Functionality moved to the core' (#1580) from heluecht/friendica-addons:bs-password into 2024.09-rc
Reviewed-on: https://git.friendi.ca/friendica/friendica-addons/pulls/1580 Reviewed-by: Hypolite Petovan <hypolite@mrpetovan.com>develop^2
commit
4437f79380
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 New Issue