Store cookie jars in euph vault

This commit is contained in:
Joscha 2022-07-24 18:08:45 +02:00
parent 282609916a
commit 7d32a7ebe0
5 changed files with 117 additions and 16 deletions

View file

@ -19,7 +19,7 @@ enum Request {
#[derive(Debug, Clone)]
pub struct Vault {
tx: mpsc::UnboundedSender<Request>,
pub(self) tx: mpsc::UnboundedSender<Request>,
}
impl Vault {
@ -37,7 +37,7 @@ impl Vault {
pub fn euph(&self, room: String) -> EuphVault {
EuphVault {
tx: self.tx.clone(),
vault: self.clone(),
room,
}
}