S

Tries to get roster even if not using PEP

I made a blog node on my sat_pubsub with multiple owners, published a test post from Movim and then made some comments from another account. Trying to load libervia-web I did not see the comments and this backtrace from sat_pubsub: https://bhh.sh/659

This patch fixed it and I can see comments now:

diff -r 0b5233981671 sat_pubsub/backend.py
--- a/sat_pubsub/backend.py     Mon Aug 02 21:58:17 2021 +0200
+++ b/sat_pubsub/backend.py     Mon Aug 16 15:08:59 2021 +0000
@@ -1082,7 +1082,7 @@
         else:
             if roster is None:
                 # FIXME: publisher roster should be used, not owner
-                roster = await self.getOwnerRoster(node)
+                # roster = await self.getOwnerRoster(node)
                 if roster is None:
                     roster = {}
             roster_item = roster.get(requestor.userhostJID())
id

390

author

Singpolyma

created

16. 8. 2021 15:10

updated

16. 8. 2021 15:10

labels
sat_pubsub
type
bug
status
queued
priority
normal
milestone
0.7
severity
normal