Commit aaaff48e1007d1370e7575781df7d8284e071972

Authored by Sergio Oliveira
1 parent f1daeea2

Added TODO

Showing 1 changed file with 2 additions and 0 deletions   Show diff stats
colab/super_archives/views.py
... ... @@ -32,6 +32,8 @@ class ThreadView(View):
32 32 thread = get_object_or_404(Thread, subject_token=thread_token,
33 33 mailinglist__name=mailinglist)
34 34  
  35 + # TODO: Refactor this code
  36 + # Use local flag is_private instead of always check the API!!
35 37 all_privates = dict(mailman.all_lists(private=True))
36 38 if all_privates[thread.mailinglist.name]:
37 39 if not request.user.is_authenticated():
... ...