Support Move Activity.

This commit is contained in:
Naoki Kosaka 2019-09-17 23:57:34 +09:00
parent 1f971cb91b
commit d307b0968f

View File

@ -250,7 +250,7 @@ func handleInbox(writer http.ResponseWriter, request *http.Request, activityDeco
writer.Write(nil) writer.Write(nil)
} }
} }
case "Create", "Update", "Delete", "Announce": case "Create", "Update", "Delete", "Announce", "Move":
err = relayAcceptable(activity, actor) err = relayAcceptable(activity, actor)
if err != nil { if err != nil {
writer.WriteHeader(400) writer.WriteHeader(400)