mirror of
https://github.com/processone/ejabberd.git
synced 2025-01-01 17:53:00 +01:00
prosody2ejabberd: Remove superfluous 'catch'
This commit is contained in:
parent
a96d72330d
commit
fc7ba53c37
@ -422,7 +422,7 @@ convert_node_items(Host, Data) ->
|
||||
Authors = proplists:get_value(<<"data_author">>, Data, []),
|
||||
lists:flatmap(
|
||||
fun({ItemId, Item}) ->
|
||||
try catch jid:decode(proplists:get_value(ItemId, Authors, Host)) of
|
||||
try jid:decode(proplists:get_value(ItemId, Authors, Host)) of
|
||||
JID ->
|
||||
[El] = deserialize(Item),
|
||||
[{ItemId, JID, El#xmlel.children}]
|
||||
|
Loading…
Reference in New Issue
Block a user