Commit 4bbf8c0
committed
fix(rtc): correct
`ConnectionManager._connect_internal` stores `join_response.data` as
`self.join_response` (see `connection_manager.py:387`), so credentials
live at the top level. `_reconnect_fast` was reading
`self.join_response.data.credentials.token`, which raises
`AttributeError: 'JoinCallResponse' object has no attribute 'data'`
the first time a FAST reconnect actually runs.
This codepath was never exercised before because nothing triggered a
reconnect on signaling-WS loss; with the prior commit on this branch
finally driving into `ReconnectionManager`, the latent bug surfaces.
Drop the spurious `.data` hop.join_response attribute access in FAST reconnect1 parent 8c880c5 commit 4bbf8c0
1 file changed
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
209 | 209 | | |
210 | 210 | | |
211 | 211 | | |
212 | | - | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
213 | 216 | | |
214 | 217 | | |
215 | | - | |
| 218 | + | |
216 | 219 | | |
217 | 220 | | |
218 | 221 | | |
| |||
0 commit comments