From f8b317ac7a4686dd8af40e2a90fb99d2d70c304c Mon Sep 17 00:00:00 2001 From: Timo Stollenwerk Date: Tue, 16 Jun 2009 11:52:00 +0000 Subject: [PATCH] add objectIds method to Conversation class to make publish comment work. svn path=/plone.app.discussion/trunk/; revision=27468 --- plone/app/discussion/conversation.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plone/app/discussion/conversation.py b/plone/app/discussion/conversation.py index e6ca4af..f9a1c1b 100644 --- a/plone/app/discussion/conversation.py +++ b/plone/app/discussion/conversation.py @@ -126,6 +126,9 @@ class Conversation(Traversable, Persistent, Explicit): def commentators(self): return self._commentators.keys() + def objectIds(self): + return self._comments.keys() + def getComments(self, start=0, size=None): """Get unthreaded comments """