https://reisub.nsupdate.info/git
/
friendica.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e2bc1e
)
Better fallback on values > 299 as well
author
Michael
<heluecht@pirati.ca>
Fri, 27 Apr 2018 04:55:46 +0000
(
04:55
+0000)
committer
Michael
<heluecht@pirati.ca>
Fri, 27 Apr 2018 04:55:46 +0000
(
04:55
+0000)
src/Worker/Delivery.php
patch
|
blob
|
history
diff --git
a/src/Worker/Delivery.php
b/src/Worker/Delivery.php
index
b62c598
..
9dbe0ec
100644
(file)
--- a/
src/Worker/Delivery.php
+++ b/
src/Worker/Delivery.php
@@
-270,7
+270,7
@@
class Delivery extends BaseObject {
// Se we transmit with the new method and via Diaspora as a fallback
if ($items[0]['uid'] == 0) {
$deliver_status = DFRN::transmit($owner, $contact, $atom);
- if (
$deliver_status < 200
) {
+ if (
($deliver_status < 200) || ($deliver_status > 299)
) {
// Transmit via Diaspora if not possible via Friendica
self::deliverDiaspora($cmd, $contact, $owner, $items, $target_item, $public_message, $top_level, $followup);
return;