comparison libervia/pages/blog/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 0554103ec700
children 106bae41f5c8
comparison
equal deleted inserted replaced
1505:a169cbc315f0 1506:ce879da7fcf7
33 entities = template_data["disco_entities"] = ( 33 entities = template_data["disco_entities"] = (
34 list(entities_own.keys()) + list(entities_roster.keys()) 34 list(entities_own.keys()) + list(entities_roster.keys())
35 ) 35 )
36 entities_url = template_data["entities_url"] = {} 36 entities_url = template_data["entities_url"] = {}
37 identities = self.host.getSessionData( 37 identities = self.host.getSessionData(
38 request, session_iface.ISATSession 38 request, session_iface.IWebSession
39 ).identities 39 ).identities
40 d_list = {} 40 d_list = {}
41 for entity_jid_s in entities: 41 for entity_jid_s in entities:
42 entities_url[entity_jid_s] = self.getPageByName("blog_view").getURL( 42 entities_url[entity_jid_s] = self.getPageByName("blog_view").getURL(
43 entity_jid_s 43 entity_jid_s