promote new channel / recycle channel msgs to INFO

This commit is contained in:
tali 2024-01-31 18:43:15 -05:00
父節點 704afb4409
當前提交 b113247f48
共有 1 個檔案被更改,包括 2 行新增2 行删除

查看文件

@ -457,7 +457,7 @@ let on_msg_join t name =
DON'T try to make a new channel *)
Error (nosuchchannel name)
with Not_found ->
debug (fun m -> m "making new channel %S" name);
info (fun m -> m "making new channel %S" name);
Ok (Chan.make name)
in
match Router.membership chan me with
@ -495,7 +495,7 @@ let leave t mem ~from ~why =
Router.part mem;
if Chan.is_empty chan then
begin
debug (fun m -> m "recycling empty channel %S" (Chan.name chan));
info (fun m -> m "recycling empty channel %S" (Chan.name chan));
Chan.unregister chan ~router:t.router;
end