diff libervia/pages/blog/view/page_meta.py @ 1266:6b7f9c3558cc

server, pages: better identities handling: - own identity is now retrieve on connection - use session identities all the time, fixed pages where an empty dict was used - identities and own_jid are alway set in template_data for normal rendering
author Goffi <goffi@goffi.org>
date Tue, 19 May 2020 11:02:32 +0200
parents 8aff742d0dd0
children 04e7dd6b6f4d
line wrap: on
line diff
--- a/libervia/pages/blog/view/page_meta.py	Tue May 19 11:02:31 2020 +0200
+++ b/libervia/pages/blog/view/page_meta.py	Tue May 19 11:02:32 2020 +0200
@@ -214,7 +214,7 @@
 
     ## identities ##
     # identities are used to show nice nickname or avatars
-    identities = template_data['identities'] = self.host.getSessionData(request, session_iface.ISATSession).identities
+    identities = self.host.getSessionData(request, session_iface.ISATSession).identities
 
     ## Comments ##
     # if comments are requested, we need to take them