mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-24 16:23:40 +01:00
PubSub: creation jid must be bare jid
This commit is contained in:
parent
7566e267a7
commit
1de0bb83a0
@ -1036,6 +1036,6 @@ raw_to_item(Nidx, {ItemId, SJID, Creation, Modification, XML}) ->
|
|||||||
El -> [El]
|
El -> [El]
|
||||||
end,
|
end,
|
||||||
#pubsub_item{itemid = {ItemId, Nidx},
|
#pubsub_item{itemid = {ItemId, Nidx},
|
||||||
creation = {ToTime(Creation), JID},
|
creation = {ToTime(Creation), jid:remove_resource(JID)},
|
||||||
modification = {ToTime(Modification), JID},
|
modification = {ToTime(Modification), JID},
|
||||||
payload = Payload}.
|
payload = Payload}.
|
||||||
|
Loading…
Reference in New Issue
Block a user