mirror of
https://github.com/processone/ejabberd.git
synced 2024-06-14 22:00:16 +02:00
parent
3e987d3bae
commit
251756de00
|
@ -689,9 +689,9 @@ get_room_disco_item({Name, Host, Pid}, Query) ->
|
||||||
{ok, #disco_item{jid = RoomJID, name = Desc}};
|
{ok, #disco_item{jid = RoomJID, name = Desc}};
|
||||||
false ->
|
false ->
|
||||||
{error, notfound}
|
{error, notfound}
|
||||||
catch _:{timeout, _} ->
|
catch _:{timeout, {p1_fsm, _, _}} ->
|
||||||
{error, timeout};
|
{error, timeout};
|
||||||
_:{noproc, _} ->
|
_:{_, {p1_fsm, _, _}} ->
|
||||||
{error, notfound}
|
{error, notfound}
|
||||||
end.
|
end.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user