mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-12-23 22:56:15 -06:00
lil syntax tweak for beloved kimb
This commit is contained in:
parent
215130d1f9
commit
d7ac09788d
1 changed files with 1 additions and 2 deletions
|
|
@ -128,8 +128,7 @@ func (f *federatingDB) Accept(ctx context.Context, accept vocab.ActivityStreamsA
|
|||
//
|
||||
// ie., a statusable or Announce with
|
||||
// just `id` and `type` properties set.
|
||||
case name == ap.ActivityAnnounce,
|
||||
ap.IsStatusable(name):
|
||||
case name == ap.ActivityAnnounce || ap.IsStatusable(name):
|
||||
objIRI := ap.GetJSONLDId(asType)
|
||||
if objIRI == nil {
|
||||
log.Debugf(ctx, "could not retrieve id of inlined Accept object %s", name)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue