mirror of
https://github.com/processone/ejabberd.git
synced 2024-09-19 14:03:03 +02: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)},
|
||||
name = iolist_to_binary(Name),
|
||||
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]}
|
||||
end);
|
||||
_ ->
|
||||
|
Loading…
Reference in New Issue
Block a user