diff options
author | Christophe Romain <christophe.romain@process-one.net> | 2016-09-29 16:10:11 +0200 |
---|---|---|
committer | Evgeniy Khramtsov <ekhramtsov@process-one.net> | 2016-09-30 07:51:33 +0300 |
commit | 1de0bb83a0bd42af502e0407f185cd6be0fd4a12 (patch) | |
tree | c1709bab62e17002f76668c069357c8439435426 | |
parent | PubSub: fix error type on item deletion with insufficient priviledge (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 ac590a1dc..bd084333b 100644 --- a/src/node_flat_sql.erl +++ b/src/node_flat_sql.erl @@ -1036,6 +1036,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}. |