From 9f851008f6d2d694c7781864b4b841667e581400 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Chmielowski?= Date: Fri, 18 Dec 2020 12:36:31 +0100 Subject: [PATCH] Update spec for get_room_pid --- src/mod_muc_admin.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mod_muc_admin.erl b/src/mod_muc_admin.erl index fd45af462..e36e3398f 100644 --- a/src/mod_muc_admin.erl +++ b/src/mod_muc_admin.erl @@ -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 ->