Gets the current cursor for a given room.
Description
The cursor is set during get_updates_after_cursor() and represents the highest meta_id seen for the room’s sync updates.
Parameters
$roomstringrequired- Room identifier.
Source
public function get_cursor( string $room ): int {
return $this->room_cursors[ $room ] ?? 0;
}
Changelog
| Version | Description |
|---|---|
| 7.0.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.