aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--util/pubsub.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/util/pubsub.lua b/util/pubsub.lua
index 8276c326..b063419e 100644
--- a/util/pubsub.lua
+++ b/util/pubsub.lua
@@ -268,6 +268,7 @@ function service:publish(node, actor, id, item)
node_obj = self.nodes[node];
end
local node_data = self.data[node];
+ item.attr.publisher = actor;
local ok = node_data:set(id, item);
if not ok then
return nil, "internal-server-error";