diff --git a/src/plugins/plugin_xep_0277.py b/src/plugins/plugin_xep_0277.py index d1a91277..29741569 100755 --- a/src/plugins/plugin_xep_0277.py +++ b/src/plugins/plugin_xep_0277.py @@ -478,24 +478,16 @@ class XEP_0277(object): comments_node_base = u"{}{}".format(NS_COMMENT_PREFIX, item_id) comments_node = comments_node_base - - suffix = None comments_service = client.pubsub_service if client.pubsub_service is not None else service - # we try to create the comment nodes # - max_tries = 3 - - for i in xrange(max_tries+1): - try: - yield self._p.createNode(comments_service, comments_node, options, profile_key=profile) - break - except error.StanzaError as e: - if e.condition == 'conflict' and i