Notifications: unsubscribe from extension approval activity (#177) #207
@ -170,7 +170,7 @@ class ExtensionsApprovalFollowView(LoginRequiredMixin, DetailView):
|
||||
extension = self.get_object()
|
||||
user = request.user
|
||||
if request.POST.get('follow'):
|
||||
follow(user, extension, flag=Flag.REVIEWER)
|
||||
follow(user, extension, send_action=False, flag=Flag.REVIEWER)
|
||||
else:
|
||||
unfollow(user, extension, flag=Flag.REVIEWER)
|
||||
unfollow(user, extension, send_action=False, flag=Flag.REVIEWER)
|
||||
return redirect(extension.get_review_url() + '#activity')
|
||||
|
Loading…
Reference in New Issue
Block a user