Rename: get_sender07() -> get_sender()

This commit is contained in:
Kitaiti Makoto
2022-05-03 01:24:22 +09:00
parent 7dd56a71e3
commit 15134eed60
9 changed files with 18 additions and 18 deletions
+2 -2
View File
@@ -802,7 +802,7 @@ impl FromId<DbConn> for Post {
Ok(post)
}
fn get_sender07() -> &'static dyn Signer {
fn get_sender() -> &'static dyn Signer {
Instance::get_local_instance_user().expect("Failed to get local instance user")
}
}
@@ -897,7 +897,7 @@ impl FromId<DbConn> for PostUpdate {
Ok(post_update)
}
fn get_sender07() -> &'static dyn Signer {
fn get_sender() -> &'static dyn Signer {
Instance::get_local_instance_user().expect("Failed to local instance user")
}
}