missed rename here

This commit is contained in:
Bruno Windels 2022-02-16 18:00:03 +01:00
parent a4fd1615dd
commit eb5ca200f2
1 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@ limitations under the License.
import {DecryptionError} from "../common.js";
import {groupBy} from "../../../utils/groupBy";
import {MultiLock, ILock} from "../../../utils/Lock";
import {Session} from "./Session.js";
import {Session} from "./Session";
import {DecryptionResult} from "../DecryptionResult";
import type {OlmMessage, OlmPayload} from "./types";
@ -246,7 +246,7 @@ class SenderKeyDecryption {
private readonly timestamp: number
) {}
addNewSession(session: Session) {
addNewSession(session: Session): void {
// add at top as it is most recent
this.sessions.unshift(session);
}