mirror of
https://gitlab.computer.surgery/matrix/grapevine.git
synced 2025-12-18 08:11:24 +01:00
enable dead_code lint
And delete all the dead code. And add some cfgs for feature-specific items.
This commit is contained in:
parent
d748544f0e
commit
2ff08c9fc4
8 changed files with 6 additions and 52 deletions
|
|
@ -397,10 +397,6 @@ impl Service {
|
|||
.add_one_time_key(user_id, device_id, one_time_key_key, one_time_key_value)
|
||||
}
|
||||
|
||||
pub(crate) fn last_one_time_keys_update(&self, user_id: &UserId) -> Result<u64> {
|
||||
self.db.last_one_time_keys_update(user_id)
|
||||
}
|
||||
|
||||
pub(crate) fn take_one_time_key(
|
||||
&self,
|
||||
user_id: &UserId,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue