prosody2ejabberd: Remove superfluous 'catch'

This commit is contained in:
Holger Weiss 2017-08-10 18:54:00 +02:00
parent a96d72330d
commit fc7ba53c37
1 changed files with 1 additions and 1 deletions

View File

@ -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}]