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

Fix PR comments

This commit is contained in:
Dariusz Niemczyk
2021-09-16 16:03:47 +02:00
parent ed68bd4108
commit 8ab0246ca2
3 changed files with 16 additions and 16 deletions

View File

@@ -33,7 +33,7 @@ import {
import { Crypto } from "../crypto";
import { deepSortedObjectEntries } from "../utils";
import { RoomMember } from "./room-member";
import { Thread, THREAD_EVENTS } from "./thread";
import { Thread, ThreadEvents } 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, [THREAD_EVENTS.ready, THREAD_EVENTS.update]);
this.reEmitter.reEmit(thread, [ThreadEvents.Ready, ThreadEvents.Update]);
}
/**