mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-12 10:04:26 +02:00
Bulk delivery added for all protocols
This commit is contained in:
parent
3fcc45a720
commit
259b99e6e9
12 changed files with 398 additions and 49 deletions
|
@ -2955,6 +2955,12 @@ class Diaspora
|
|||
return 200;
|
||||
}
|
||||
|
||||
if (!empty($contact['gsid']) && (empty($return_code) || $postResult->isTimeout())) {
|
||||
GServer::setFailureById($contact['gsid']);
|
||||
} elseif (!empty($contact['gsid']) && ($return_code >= 200) && ($return_code <= 299)) {
|
||||
GServer::setReachableById($contact['gsid']);
|
||||
}
|
||||
|
||||
Logger::notice('transmit: ' . $logid . '-' . $guid . ' to ' . $dest_url . ' returns: ' . $return_code);
|
||||
|
||||
return $return_code ? $return_code : -1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue