-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(event_sync): add number of active occupants to join/left events
- Loading branch information
1 parent
6a17e19
commit ecfdcdc
Showing
2 changed files
with
16 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -72,6 +72,7 @@ When an occupant joins, `POST ${api_prefix}/events/occupant/joined` is called wi | |
* room_jid | ||
* is_breakout | ||
* breakout_room_id (only if is_breakout is true) | ||
* active_occupants_count (current number of active occupants, including the one that just joined) | ||
* occupant | ||
* occupant_jid | ||
* joined_at | ||
|
@@ -87,6 +88,7 @@ Example: | |
"room_name": "catchup", | ||
"room_jid": "[email protected]", | ||
"is_breakout": false, | ||
"active_occupants_count": 4, | ||
"occupant": { | ||
"name": "James Barrow", | ||
"email": "[email protected]", | ||
|
@@ -105,6 +107,7 @@ When an occupant leaves, `POST ${api_prefix}/events/occupant/left` is called wit | |
* room_jid | ||
* is_breakout | ||
* breakout_room_id (only if is_breakout is true) | ||
* active_occupants_count (current number of active occupants, excluding the one that just left) | ||
* occupant | ||
* occupant_jid | ||
* joined_at | ||
|
@@ -121,6 +124,7 @@ Example: | |
"room_name": "catchup", | ||
"room_jid": "[email protected]", | ||
"is_breakout": false, | ||
"active_occupants_count": 3, | ||
"occupant": { | ||
"name": "James Barrow", | ||
"email": "[email protected]", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters