mirror of
https://gitlab.computer.surgery/matrix/grapevine.git
synced 2025-12-16 15:21:24 +01:00
rename appservice service constructor
This commit is contained in:
parent
5be1e20eb4
commit
b18df8de70
2 changed files with 2 additions and 2 deletions
|
|
@ -65,7 +65,7 @@ impl Services {
|
|||
reload_handles: Option<FilterReloadHandles>,
|
||||
) -> Result<Self> {
|
||||
Ok(Self {
|
||||
appservice: appservice::Service::build(db)?,
|
||||
appservice: appservice::Service::new(db)?,
|
||||
pusher: pusher::Service {
|
||||
db,
|
||||
},
|
||||
|
|
|
|||
|
|
@ -117,7 +117,7 @@ pub(crate) struct Service {
|
|||
}
|
||||
|
||||
impl Service {
|
||||
pub(crate) fn build(db: &'static dyn Data) -> Result<Self> {
|
||||
pub(crate) fn new(db: &'static dyn Data) -> Result<Self> {
|
||||
let mut registration_info = BTreeMap::new();
|
||||
// Inserting registrations into cache
|
||||
for appservice in db.all()? {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue