From: Mikael Nordfeldth <mmn@hethane.se>
Date: Sat, 25 Jun 2016 18:50:00 +0000 (+0200)
Subject: actually respond with the error message in text on Salmon calls
X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=3166a04cefecc2e9c38c8a88591942ea317391f8;p=quix0rs-gnu-social.git

actually respond with the error message in text on Salmon calls
---

diff --git a/plugins/OStatus/lib/salmonaction.php b/plugins/OStatus/lib/salmonaction.php
index 3b9472eeb8..4d2144c300 100644
--- a/plugins/OStatus/lib/salmonaction.php
+++ b/plugins/OStatus/lib/salmonaction.php
@@ -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;