diff options
author | Christophe Romain <christophe.romain@process-one.net> | 2016-09-29 16:10:11 +0200 |
---|---|---|
committer | Christophe Romain <christophe.romain@process-one.net> | 2016-09-29 16:10:11 +0200 |
commit | 15ebb791603aa32424111a5e3f95c6bdcdb9055f (patch) | |
tree | 9df29cd0a1a282635cb3d40b04e1d4721722dde7 | |
parent | PubSub: fix notification on subscription change (diff) |
PubSub: creation jid must be bare jid
-rw-r--r-- | src/node_flat_sql.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/node_flat_sql.erl b/src/node_flat_sql.erl index e7e5fb41..15cf9b37 100644 --- a/src/node_flat_sql.erl +++ b/src/node_flat_sql.erl @@ -1051,6 +1051,6 @@ raw_to_item(Nidx, {ItemId, SJID, Creation, Modification, XML}) -> El -> [El] end, #pubsub_item{itemid = {ItemId, Nidx}, - creation = {ToTime(Creation), JID}, + creation = {ToTime(Creation), jid:remove_resource(JID)}, modification = {ToTime(Modification), JID}, payload = Payload}. |