-
-
Notifications
You must be signed in to change notification settings - Fork 884
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
Dont show replies / mentions from blocked users. Fixes #4227 #4727
Conversation
Tests should be added |
Gotcha, I'll add tests shortly. |
- Also cleaned up some unwraps in the tests.
@@ -87,117 +87,3 @@ impl CommentReply { | |||
.optional() | |||
} | |||
} | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I moved these tests into the views, since they'd be redundant anyway.
let inserted_instance = Instance::read_or_create(pool, "my_domain.tld".to_string()) | ||
.await | ||
.unwrap(); | ||
async fn init_data(pool: &mut DbPool<'_>) -> LemmyResult<Data> { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No logical changes in this file, other than to remove some unecessary unwraps.
Cargo.lock
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I needed to do cargo update
to get rust nightly working again.
No description provided.