Closed raxelg closed 3 years ago
The code is currently not affecting the determination of the recipients of emails because I changed that part of the backend. The FollowTag model is removed since it's simply the set difference between Tags and MuteTags for the followed tags so I thought an extra model would be unnecessary. However, the code you sent is being used in the posts page with the buttons below:
I think we haven't decided what's the best way to have subscription on that page yet but I think the code that's been used there wasn't working either way so we could potentially refactor it or remove it. The follow_tag
and unfollow_tag
functions are used more throughout the codebase so it would be something that will require more time to go through even though it doesn't affect the functionality of the emails being sent based on tagging subscriptions in the settings page.
Ah that makes sense. Thanks for clarification!
I see referring the
FollowTag
model even if it is not defined in models.py https://github.com/haystack/murmur/blob/8029434f31c5ce498142dde7a928142be7a1e792/engine/main.py#L1515-L1542Can you take a look at this code?