Many updates to handle non public comments properly

This commit is contained in:
Patrick Gerken
2013-03-28 14:28:22 +01:00
parent 6320048b37
commit 05f0e7e4d8
8 changed files with 87 additions and 13 deletions
+1 -1
View File
@@ -61,7 +61,7 @@ def commentators(object):
if object.meta_type != 'Discussion Item':
try:
conversation = IConversation(object)
return tuple(conversation.commentators.keys())
return conversation.public_commentators
except TypeError: # pragma: no cover
# The item is contentish but nobody
# implemented an adapter for it