Skip to content

Auto-follow community when enabling notifications (fixes #6081)#6082

Merged
dessalines merged 3 commits intomainfrom
notification-auto-follow-comm
Oct 16, 2025
Merged

Auto-follow community when enabling notifications (fixes #6081)#6082
dessalines merged 3 commits intomainfrom
notification-auto-follow-comm

Conversation

@Nutomic
Copy link
Copy Markdown
Member

@Nutomic Nutomic commented Oct 15, 2025

No description provided.

@Nutomic Nutomic force-pushed the notification-auto-follow-comm branch 2 times, most recently from 4b450f4 to 52a98bb Compare October 15, 2025 12:54
Comment on lines +29 to +33
pub(super) async fn do_follow_community(
community: Community,
person: &Person,
follow: bool,
context: &Data<LemmyContext>,
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Would probably be a good idea to pass in &Community, even if you do have to do a clone later. Up to you tho.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Its not necessary as the callers dont use community anymore.

@Nutomic Nutomic force-pushed the notification-auto-follow-comm branch from 52a98bb to baa6754 Compare October 15, 2025 14:32
@dessalines dessalines merged commit e882f8c into main Oct 16, 2025
2 checks passed
@dessalines dessalines deleted the notification-auto-follow-comm branch October 16, 2025 15:57
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