Skip to content

Conversation

@dharit-tan
Copy link
Contributor

Description

When selecting which users to send a chat websocket rpc to, respect the chat_member.is_hidden field and don't fire websocket events to those users for whom it is true.

How Has This Been Tested?

In this example, reed sends a blast to 2 followers, andrew and steve. andrew has responded, so the chat appears on reed's end. steve has not. notice that after blasting, on reed's side, there is still only one chat with andrew. the chat with steve remains hidden from reed (currently, the steve chat would appear but then disappear on refresh).

Screen.Recording.2024-09-03.at.2.41.59.PM.mov

@changeset-bot
Copy link

changeset-bot bot commented Sep 3, 2024

⚠️ No Changeset found

Latest commit: 4e9dcf6

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@dharit-tan dharit-tan merged commit 62a4937 into main Sep 3, 2024
@dharit-tan dharit-tan deleted the rt-is-hidden branch September 3, 2024 19:38
audius-infra pushed a commit that referenced this pull request Sep 4, 2024
[6755daa] Pin Rust version for 'prod' DN dockerfile (#9607) Marcus Pasell
[aa766ce] [PAY-3412] Include network splits in CSV downloads of sales/purchases (#9626) Marcus Pasell
[b904856] [PAY-3389] Fix duplicate blast messages in 1:1 threads (#9621) Reed
[0deaa00] Blast getMessages supports all audiences (#9618) Reed
[62a4937] [PAY-3387] Chat ws respects chat_member.is_hidden (#9616) Reed
[78033ae] Remove ToUserId in blast ws fan-out (#9615) Reed
[661cca7] [PAY-3206] Populate content targeting dropdowns for blast modal (web) (#9601) Andrew Mendelsohn
[3f325be] [QA-1537] Remove unnecessary short circuit logic for gated tracks in get_remixes_of (#9613) Randy Schott
[e9091d8] [C-5001] Add comment disabling for tracks (#9594) Dylan Jeffers
schottra added a commit that referenced this pull request Sep 4, 2024
…ient-v1-feed

* origin/main: (53 commits)
  Show content title in chat blast item (#9627)
  Revert change to create-audius-app until new SDK version is published (#9632)
  [C-4752] Reduce border width for small Avatar (#9612)
  [QA-1512] Mediorum transcode fixes (#9631)
  [C-4952] Mobile comment overflow action confirmations (#9622)
  Audius Protocol v0.6.183
  [PAY-3408][PAY-3409][PAY-3408][PAY-3405][PAY-3413] Update Sales/Purchase Modal (#9624)
  [PAY-3404] Fix floor() for negative numbers that are already floored (#9623)
  Fix purchasing without network split (#9629)
  Pin Rust version for 'prod' DN dockerfile (#9607)
  [PAY-3410][PAY-3406] Update Sales Table help link and "Value" => "Total" (#9625)
  [PAY-3412] Include network splits in CSV downloads of sales/purchases (#9626)
  [QA-1439] Don't block gated tracks from being remixes (#9620)
  [PAY-3389] Fix duplicate blast messages in 1:1 threads (#9621)
  [C-5008] Add single and multi lineHeight options to Text (#9610)
  Blast getMessages supports all audiences (#9618)
  [PAY-3378] Disable blast audiences radios with no recipients (#9619)
  Only add blasts to store for sender (#9617)
  [PAY-3387] Chat ws respects chat_member.is_hidden (#9616)
  Remove ToUserId in blast ws fan-out (#9615)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants