Commit 42b4987a authored by zauberstuhl's avatar zauberstuhl
Browse files

Fix parsing retraction xml with correct name

parent a3784891
......@@ -17,7 +17,10 @@ package federation
// along with this program. If not, see <>.
import "encoding/xml"
type EntityRetraction struct {
XMLName xml.Name `xml:"retraction"`
Author string `xml:"author"`
TargetGuid string `xml:"target_guid"`
TargetType string `xml:"target_type"`
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment