crypto: Better grammar for a panic message.
This commit is contained in:
parent
87d0102663
commit
0245782cf4
1 changed files with 1 additions and 1 deletions
|
@ -899,7 +899,7 @@ impl OlmMachine {
|
||||||
};
|
};
|
||||||
|
|
||||||
if session.expired() {
|
if session.expired() {
|
||||||
panic!("Session is expired");
|
panic!("Session expired");
|
||||||
}
|
}
|
||||||
|
|
||||||
Ok(session.encrypt(content).await)
|
Ok(session.encrypt(content).await)
|
||||||
|
|
Loading…
Reference in a new issue