Bluesky: Functionality moved to the core #1580

Merged
MrPetovan merged 3 commits from heluecht/friendica-addons:bs-password into 2024.09-rc 2024-12-15 15:13:53 +01:00
2 changed files with 97 additions and 1169 deletions

File diff suppressed because it is too large Load diff

View file

@ -564,7 +564,7 @@ function tumblr_send(array &$b)
if ($result->meta->status < 400) {
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)) {
Item::update(['extid' => 'tumblr::' . $result->response->id_string], ['id' => $b['id']]);
Item::update(['extid' => 'tumblr::' . $result->response->id_string], ['guid' => $b['guid']]);
}
} else {
Logger::notice('Error while performing activity', ['verb' => $b['verb'], 'deleted' => $b['deleted'], 'meta' => $result->meta, 'response' => $result->response, 'errors' => $result->errors, 'params' => $params]);