summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorHolger Weiss <holger@zedat.fu-berlin.de>2017-01-21 00:14:56 +0100
committerHolger Weiss <holger@zedat.fu-berlin.de>2017-01-21 00:14:56 +0100
commit14e771d8714038320cfb1c9b562cf4bf11f8691c (patch)
tree2074eb3fc487b005ab3afea08a185e8e965c498c /include
parentAdd stanza-id to every archived message (#1477) (diff)
mod_pubsub: Fix last item cache for multiple hosts
Don't let the last item cache intermix PubSub items of different virtual domains.
Diffstat (limited to 'include')
-rw-r--r--include/pubsub.hrl2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/pubsub.hrl b/include/pubsub.hrl
index f20fa4b7..b2bc05c9 100644
--- a/include/pubsub.hrl
+++ b/include/pubsub.hrl
@@ -166,7 +166,7 @@
-record(pubsub_last_item,
{
- nodeid ,% :: mod_pubsub:nodeIdx(),
+ nodeid ,% :: {binary(), mod_pubsub:nodeIdx()},
itemid ,% :: mod_pubsub:itemId(),
creation ,% :: {erlang:timestamp(), jlib:ljid()},
payload % :: mod_pubsub:payload()