forked from mystiq/hydrogen-web
Update src/matrix/e2ee/olm/Decryption.ts
Co-authored-by: R Midhun Suresh <hi@midhun.dev>
This commit is contained in:
parent
3330530f68
commit
82299e5aea
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ type CreateAndDecryptResult = {
|
|||
plaintext: string
|
||||
};
|
||||
|
||||
function sortSessions(sessions: Session[]) {
|
||||
function sortSessions(sessions: Session[]): void {
|
||||
sessions.sort((a, b) => {
|
||||
return b.data.lastUsed - a.data.lastUsed;
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue