From 388328391e91a1dacc6e2d6c774b1494bf429e75 Mon Sep 17 00:00:00 2001 From: "Amber Brown (HawkOwl)" Date: Tue, 15 Nov 2016 23:29:16 +1100 Subject: [PATCH] pass whether it is retained to the subscribe handler --- autobahn/wamp/protocol.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autobahn/wamp/protocol.py b/autobahn/wamp/protocol.py index 6f8d8d48..2fb224bf 100644 --- a/autobahn/wamp/protocol.py +++ b/autobahn/wamp/protocol.py @@ -587,7 +587,7 @@ class ApplicationSession(BaseSession): invoke_kwargs = msg.kwargs if msg.kwargs else dict() if handler.details_arg: - invoke_kwargs[handler.details_arg] = types.EventDetails(publication=msg.publication, publisher=msg.publisher, publisher_authid=msg.publisher_authid, publisher_authrole=msg.publisher_authrole, topic=topic, enc_algo=msg.enc_algo) + invoke_kwargs[handler.details_arg] = types.EventDetails(publication=msg.publication, publisher=msg.publisher, publisher_authid=msg.publisher_authid, publisher_authrole=msg.publisher_authrole, topic=topic, retained=msg.retained, enc_algo=msg.enc_algo) def _error(e): errmsg = 'While firing {0} subscribed under {1}.'.format(