]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
actually respond with the error message in text on Salmon calls
authorMikael Nordfeldth <mmn@hethane.se>
Sat, 25 Jun 2016 18:50:00 +0000 (20:50 +0200)
committerMikael Nordfeldth <mmn@hethane.se>
Sat, 25 Jun 2016 18:50:00 +0000 (20:50 +0200)
plugins/OStatus/lib/salmonaction.php

index 3b9472eeb8addb3f619c325165bccdfc0c1c7322..4d2144c30056aa7a6512d5626c80e9683acc2f1b 100644 (file)
@@ -31,6 +31,8 @@ class SalmonAction extends Action
     protected $oprofile = null; // Ostatus_profile of the actor
     protected $actor    = null; // Profile object of the actor
 
+    var $format   = 'text'; // error messages will be printed in plaintext
+
     var $xml      = null;
     var $activity = null;
     var $target   = null;