mirror of https://github.com/vector-im/riot-web
Remove 'status' from payload; unused.
parent
41f659db4c
commit
c4379e4827
|
@ -22,13 +22,13 @@ limitations under the License.
|
||||||
* This handler dispatches when voip calls are added/updated/removed from this list:
|
* This handler dispatches when voip calls are added/updated/removed from this list:
|
||||||
* {
|
* {
|
||||||
* action: 'call_state'
|
* action: 'call_state'
|
||||||
* room_id: <room ID of the call>,
|
* room_id: <room ID of the call>
|
||||||
* status: ringing|ringback|connected|ended|busy|stop_ringback|stop_ringing
|
|
||||||
* }
|
* }
|
||||||
*
|
*
|
||||||
* To know if the call was added/removed, this handler exposes a getter to
|
* To know the state of the call, this handler exposes a getter to
|
||||||
* obtain the call for a room:
|
* obtain the call for a room:
|
||||||
* CallHandler.getCall(roomId)
|
* var call = CallHandler.getCall(roomId)
|
||||||
|
* var state = call.call_state; // ringing|ringback|connected|ended|busy|stop_ringback|stop_ringing
|
||||||
*
|
*
|
||||||
* This handler listens for and handles the following actions:
|
* This handler listens for and handles the following actions:
|
||||||
* {
|
* {
|
||||||
|
@ -111,8 +111,7 @@ function _setCallState(call, roomId, status) {
|
||||||
}
|
}
|
||||||
dis.dispatch({
|
dis.dispatch({
|
||||||
action: 'call_state',
|
action: 'call_state',
|
||||||
room_id: roomId,
|
room_id: roomId
|
||||||
status: status
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue