mirror of
https://github.com/owncast/owncast.git
synced 2024-10-10 19:16:02 +00:00
activitypub: ensure Undo request has valid type (#2317)
This commit is contained in:
parent
f39c1184e5
commit
e64dd2d206
@ -18,7 +18,12 @@ func handleUndoInboxRequest(c context.Context, activity vocab.ActivityStreamsUnd
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
log.Traceln("Undo", iter.GetType().GetTypeName(), "ignored")
|
t := iter.GetType()
|
||||||
|
if t != nil {
|
||||||
|
log.Traceln("Undo", t.GetTypeName(), "ignored")
|
||||||
|
} else {
|
||||||
|
log.Traceln("Undo (no type) ignored")
|
||||||
|
}
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user