Skip to content

Blocking users does not fully restrict feed visibility and interactions #83

Description

@andrewmikhniuk

Blocking users does not fully restrict feed visibility and interactions in stream_feeds ^0.5.0

Description
According to the Stream documentation, blocking a user should prevent them from seeing your content or interacting with it.

Documentation reference:
https://getstream.io/activity-feeds/docs/flutter/moderation/#block-users

“Block a user to prevent them from following you or seeing your content.”

However, in stream_feeds: ^0.5.0, blocking does not fully work as documented.

Environment
• Package: stream_feeds
• Version: ^0.5.0
• Platform: Flutter (Android & iOS)
• Feed type: Activity / Flat Feed

Steps to Reproduce
1. Create two users: User A and User B.
2. User A blocks User B using the Stream moderation/block API.
3. User A opens their feed page with an active Feed.state stream
4. User B performs actions related to User A’s content.

Actual Behavior
After User A blocks User B:
1. ❌ User B can still see User A’s content.
2. ❌ User B can still comment on User A’s activities.
3. ❌ User B can still add reactions to User A’s activities.
4. ❌ Real-time feed issue:
• If User A’s feed page is already open and the FeedController is active,
• And User B adds a comment or a new activity related to User A,
• The comment/activity temporarily appears in User A’s feed,
• The blocked content disappears only after a manual reload of the Feed

Expected Behavior
Once User A blocks User B:
• ✅ User B should not see User A’s content
• ✅ User B should not be able to comment or add reactions
• ✅ Blocked user content should never appear, even temporarily
• ✅ Blocking should apply immediately to real-time feed updates

Metadata

Metadata

Assignees

No one assigned

    Labels

    backendWaiting for backendbugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions