Skip to content

Commit a761391

Browse files
committed
forgot to add this
1 parent 22a4fbe commit a761391

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

livekit-rtc/livekit/rtc/participant.py

+4
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,10 @@ def __init__(
159159
self._track_publications: dict[str, LocalTrackPublication] = {} # type: ignore
160160
self._room_ref = weakref.ref(room)
161161

162+
@property
163+
def room(self) -> Room | None:
164+
return self._room_ref()
165+
162166
@property
163167
def track_publications(self) -> Mapping[str, LocalTrackPublication]:
164168
"""

0 commit comments

Comments
 (0)