forked from mystiq/hydrogen-web
missed rename here
This commit is contained in:
parent
a4fd1615dd
commit
eb5ca200f2
1 changed files with 2 additions and 2 deletions
|
@ -17,7 +17,7 @@ limitations under the License.
|
||||||
import {DecryptionError} from "../common.js";
|
import {DecryptionError} from "../common.js";
|
||||||
import {groupBy} from "../../../utils/groupBy";
|
import {groupBy} from "../../../utils/groupBy";
|
||||||
import {MultiLock, ILock} from "../../../utils/Lock";
|
import {MultiLock, ILock} from "../../../utils/Lock";
|
||||||
import {Session} from "./Session.js";
|
import {Session} from "./Session";
|
||||||
import {DecryptionResult} from "../DecryptionResult";
|
import {DecryptionResult} from "../DecryptionResult";
|
||||||
|
|
||||||
import type {OlmMessage, OlmPayload} from "./types";
|
import type {OlmMessage, OlmPayload} from "./types";
|
||||||
|
@ -246,7 +246,7 @@ class SenderKeyDecryption {
|
||||||
private readonly timestamp: number
|
private readonly timestamp: number
|
||||||
) {}
|
) {}
|
||||||
|
|
||||||
addNewSession(session: Session) {
|
addNewSession(session: Session): void {
|
||||||
// add at top as it is most recent
|
// add at top as it is most recent
|
||||||
this.sessions.unshift(session);
|
this.sessions.unshift(session);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue