comparison libervia/pages/forums/topics/page_meta.py @ 1506:ce879da7fcf7

server: fix `on_signal` callback
author Goffi <goffi@goffi.org>
date Thu, 23 Mar 2023 17:50:54 +0100
parents fa6fe9511aca
children 106bae41f5c8
comparison
equal deleted inserted replaced
1505:a169cbc315f0 1506:ce879da7fcf7
44 profile 44 profile
45 ) 45 )
46 metadata = data_format.deserialise(metadata) 46 metadata = data_format.deserialise(metadata)
47 self.setPagination(request, metadata) 47 self.setPagination(request, metadata)
48 identities = self.host.getSessionData( 48 identities = self.host.getSessionData(
49 request, session_iface.ISATSession 49 request, session_iface.IWebSession
50 ).identities 50 ).identities
51 for topic in topics: 51 for topic in topics:
52 parsed_uri = xmpp_uri.parseXMPPUri(topic["uri"]) 52 parsed_uri = xmpp_uri.parseXMPPUri(topic["uri"])
53 author = topic["author"] 53 author = topic["author"]
54 topic["http_uri"] = self.getPageByName("forum_view").getURL( 54 topic["http_uri"] = self.getPageByName("forum_view").getURL(