Skip to content

feat: add CreatorInCreateEvent to help with default room v11#465

Merged
kegsay merged 3 commits intomatrix-org:mainfrom
famedly:tt/CreatorInCreateEvent
May 6, 2026
Merged

feat: add CreatorInCreateEvent to help with default room v11#465
kegsay merged 3 commits intomatrix-org:mainfrom
famedly:tt/CreatorInCreateEvent

Conversation

@FrenchGithubUser
Copy link
Copy Markdown
Contributor

@FrenchGithubUser FrenchGithubUser commented Apr 17, 2026

related to matrix-org/complement#858

Pull Request Checklist

Signed-off-by: Thomas Traineau <t.traineau@famedly.com>

Signed-off-by: Thomas Traineau t.traineau@famedly.com
@FrenchGithubUser FrenchGithubUser force-pushed the tt/CreatorInCreateEvent branch from e6d5627 to 52795b0 Compare April 17, 2026 12:19
Signed-off-by: Thomas Traineau t.traineau@famedly.com
Copy link
Copy Markdown
Contributor

@reivilibre reivilibre left a comment

Choose a reason for hiding this comment

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

I guess I don't understand what this is (maybe the comments can be a bit more enlightening, it probably needs too much context from the spec changes over the years)

Comment thread eventversion.go
Comment thread eventversion.go
checkKnockingAllowedFunc: disallowKnocking,
checkRestrictedJoinAllowedFunc: disallowRestrictedJoins,
checkCreateEvent: checkCreateEventV1,
creatorInCreateEvent: true,
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I think most of these should be false, if I understand it right?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

this is false from room v11 and above

Comment thread eventversion.go
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 28, 2026

Codecov Report

❌ Patch coverage is 0% with 4 lines in your changes missing coverage. Please review.
✅ Project coverage is 53.88%. Comparing base (20c9de3) to head (3661833).

Files with missing lines Patch % Lines
eventversion.go 0.00% 4 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #465      +/-   ##
==========================================
- Coverage   53.94%   53.88%   -0.07%     
==========================================
  Files          52       52              
  Lines        6021     6028       +7     
==========================================
  Hits         3248     3248              
- Misses       2359     2366       +7     
  Partials      414      414              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@FrenchGithubUser
Copy link
Copy Markdown
Contributor Author

FrenchGithubUser commented Apr 30, 2026

sorry about the missing comments. Let me know if there are further questions

@kegsay kegsay merged commit c9c4687 into matrix-org:main May 6, 2026
5 of 7 checks passed
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.

3 participants