Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(hub): add MessageBlockList #163

Merged
merged 1 commit into from
Oct 15, 2024
Merged

feat(hub): add MessageBlockList #163

merged 1 commit into from
Oct 15, 2024

Conversation

dev-737
Copy link
Member

@dev-737 dev-737 commented Oct 15, 2024

Introducing a new MessageBlockList feature to the hub. The key changes include:

  • Updated the ReferredMsgData interface to use the new OriginalMessage, Broadcast, and UserData types for the dbReferrence and dbReferredAuthor fields.
  • Added a new MessageBlockList model to the Prisma schema, which will store a list of blocked words for each hub.
  • Introduced a new mode field in the connectedList model to track the mode (compact or embed) for each channel connection.

These changes are intended to provide a mechanism for hubs to manage blocked words and improve the messaging experience for users.

- Change the type of `dbReferrence` in `ReferredMsgData` interface to use the new `OriginalMessage` and `Broadcast` types
- Change the type of `dbReferredAuthor` in `ReferredMsgData` interface to use the new `UserData` type
- Add a new `MessageBlockList` model to the Prisma schema to store a list of blocked words for each hub
- Introduce a new `mode` field in the `connectedList` model to track the mode (compact or embed) for each channel connection
@dev-737 dev-737 merged commit 10ee79f into main Oct 15, 2024
2 of 3 checks passed
Copy link

sonarcloud bot commented Oct 15, 2024

@dev-737 dev-737 deleted the Virtual-branch branch October 15, 2024 10:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant