mirror of
https://github.com/matrix-construct/construct
synced 2024-11-16 15:00:51 +01:00
ircd:Ⓜ️:homeserver: Additional construction conditions.
This commit is contained in:
parent
a796d33170
commit
6122a7eb1f
1 changed files with 6 additions and 1 deletions
|
@ -228,7 +228,12 @@ ircd::m::homeserver::homeserver(const struct opts *const &opts)
|
|||
if(primary == this && dbs::events && sequence(*dbs::events) == 0)
|
||||
bootstrap(*this);
|
||||
|
||||
m::keys::cache::set(key->verify_keys);
|
||||
if(primary == this && conf)
|
||||
conf->load();
|
||||
|
||||
if(key && !key->verify_keys.empty())
|
||||
m::keys::cache::set(key->verify_keys);
|
||||
|
||||
signon(*this);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue