mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-26 17:38:45 +01:00
PubSub: creation jid must be bare jid
This commit is contained in:
parent
767dba8f3b
commit
15ebb79160
@ -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}.
|
||||
|
Loading…
Reference in New Issue
Block a user