mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-26 17:38:45 +01:00
Don't stop roster table conversion on broken askmessage
This commit is contained in:
parent
62be3bc111
commit
87f8c2ecd8
@ -1319,7 +1319,8 @@ update_roster_table() ->
|
|||||||
iolist_to_binary(R2)},
|
iolist_to_binary(R2)},
|
||||||
name = iolist_to_binary(Name),
|
name = iolist_to_binary(Name),
|
||||||
groups = [iolist_to_binary(G) || G <- Gs],
|
groups = [iolist_to_binary(G) || G <- Gs],
|
||||||
askmessage = iolist_to_binary(Ask),
|
askmessage = try iolist_to_binary(Ask)
|
||||||
|
catch _:_ -> <<"">> end,
|
||||||
xs = [xml:to_xmlel(X) || X <- Xs]}
|
xs = [xml:to_xmlel(X) || X <- Xs]}
|
||||||
end);
|
end);
|
||||||
_ ->
|
_ ->
|
||||||
|
Loading…
Reference in New Issue
Block a user