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: community message attachments #640

Merged
merged 3 commits into from
Dec 3, 2024

Conversation

ashneverdawn
Copy link
Contributor

What this PR does 📖

Implements message attachments for community messages

@ashneverdawn ashneverdawn self-assigned this Dec 3, 2024
let own_did = &self.identity.did_key();
if !self.document.has_channel_permission(
own_did,
&CommunityChannelPermission::SendMessages,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder if we should split this so it has two permission checks, one for sending messages and another for attaching a file. Thoughts?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sounds good. Done 👍

@ashneverdawn ashneverdawn merged commit f7992d7 into main Dec 3, 2024
3 checks passed
@ashneverdawn ashneverdawn deleted the feat/community-message-attachments branch December 3, 2024 17:37
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.

2 participants