mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-22 17:28:25 +01:00
Fix crash in mod_private bookmarks converter
This should fix issue reported in #4092
This commit is contained in:
parent
762e4951f2
commit
a63d3bf0d6
@ -379,8 +379,10 @@ publish_pep_xmpp_bookmarks(JID, Data) ->
|
||||
|
||||
err_ret({error, _} = E, _) ->
|
||||
E;
|
||||
err_ret(ok, E) ->
|
||||
E.
|
||||
err_ret(ok, {error, _} = E) ->
|
||||
E;
|
||||
err_ret(_, _) ->
|
||||
ok.
|
||||
|
||||
-spec pubsub_publish_item(binary(), binary(), jid(), jid(),
|
||||
binary(), [xmlel()]) -> any().
|
||||
|
Loading…
Reference in New Issue
Block a user