Turn append_pdu args into struct PduBuilder
This commit is contained in:
parent
1c6f211933
commit
d948f896c0
4 changed files with 322 additions and 260 deletions
|
@ -125,7 +125,7 @@ impl Database {
|
|||
})
|
||||
}
|
||||
|
||||
pub async fn watch(&self, user_id: &UserId, device_id: &DeviceId) -> () {
|
||||
pub async fn watch(&self, user_id: &UserId, device_id: &DeviceId) {
|
||||
let mut userid_prefix = user_id.to_string().as_bytes().to_vec();
|
||||
userid_prefix.push(0xff);
|
||||
let mut userdeviceid_prefix = userid_prefix.clone();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue