Update spec for get_room_pid

This commit is contained in:
Paweł Chmielowski 2020-12-18 12:36:31 +01:00
parent 1b7502acbc
commit 9f851008f6
1 changed files with 1 additions and 1 deletions

View File

@ -1108,7 +1108,7 @@ format_room_option(OptionString, ValueString) ->
{Option, Value}.
%% @doc Get the Pid of an existing MUC room, or 'room_not_found'.
-spec get_room_pid(binary(), binary()) -> {ok, pid()} | room_not_found | invalid_service.
-spec get_room_pid(binary(), binary()) -> pid() | room_not_found | invalid_service.
get_room_pid(Name, Service) ->
try get_room_serverhost(Service) of
ServerHost ->