1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-11-23 17:02:25 +03:00

Properly rename ThreadEvents to ThreadEvent

This commit is contained in:
Dariusz Niemczyk
2021-09-16 17:49:31 +02:00
parent 5ba836a31b
commit 5813aea27f
2 changed files with 6 additions and 6 deletions

View File

@@ -33,7 +33,7 @@ import {
import { Crypto } from "../crypto";
import { deepSortedObjectEntries } from "../utils";
import { RoomMember } from "./room-member";
import { Thread, ThreadEvents } from "./thread";
import { Thread, ThreadEvent } from "./thread";
import { IActionsObject } from '../pushprocessor';
import { ReEmitter } from '../ReEmitter';
@@ -1321,7 +1321,7 @@ export class MatrixEvent extends EventEmitter {
*/
public setThread(thread: Thread): void {
this.thread = thread;
this.reEmitter.reEmit(thread, [ThreadEvents.Ready, ThreadEvents.Update]);
this.reEmitter.reEmit(thread, [ThreadEvent.Ready, ThreadEvent.Update]);
}
/**