0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-29 18:22:50 +01:00

ircd:Ⓜ️:room::state: Disable history by default with warning for now.

This commit is contained in:
Jason Volk 2019-03-01 12:06:44 -08:00
parent 56d0292305
commit 8cc46765a3
2 changed files with 10 additions and 1 deletions

View file

@ -49,6 +49,15 @@ try
}
{
presence::set(me, "online", me_online_status_msg);
if(room::state::disable_history)
log::warning
{
m::log, "Room state history is disabled by the configuration"
" (ircd.m.room.state.disable_history). This is for development"
" only. You must change this manually when instructed to do so"
" by the developer before production use."
};
}
catch(const http::error &e)
{

View file

@ -869,7 +869,7 @@ decltype(ircd::m::room::state::disable_history)
ircd::m::room::state::disable_history
{
{ "name", "ircd.m.room.state.disable_history" },
{ "default", false },
{ "default", true },
};
decltype(ircd::m::room::state::readahead_size)