Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • pleroma pleroma
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • a1batross
  • pleromapleroma
  • Repository
  • pleroma
  • test
  • web
  • streamer
  • streamer_test.exs
Find file BlameHistoryPermalink
  • kaniini's avatar
    streamer: use direct object for filter checks when there is no valid child object in an activity · 6a151e7c
    kaniini authored Nov 03, 2019 and lain's avatar lain committed Nov 04, 2019
    We call Object.normalize/1 to get the child object for situations like Announce.
    However, the check is flawed and immediately fails if Object.normalize/1 fails.
    Instead, we should use the activity itself in those cases to allow activities which
    never have a child object to pass through the filter.
    
    Closes #1291
    6a151e7c