Skip to content

Commit 130c518

Browse files
committed
Improve lastThread prop doc
1 parent 24b78e5 commit 130c518

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/models/room.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,8 @@ export class Room extends ReadReceipt<RoomEmittedEvents, RoomEventHandlerMap> {
398398
private threads = new Map<string, Thread>();
399399

400400
/**
401-
* @deprecated use {@link Room.getLastThread} instead
401+
* @deprecated This value is unreliable. It may not contain the last thread.
402+
* Use {@link Room.getLastThread} instead.
402403
*/
403404
public lastThread?: Thread;
404405

0 commit comments

Comments
 (0)