reset returns the state to the floor delay and zero attempts. Called after a successful dial or a relay target change.
()
| 670 | // reset returns the state to the floor delay and zero attempts. |
| 671 | // Called after a successful dial or a relay target change. |
| 672 | func (s *relayRetryState) reset() { |
| 673 | s.retrier.Reset() |
| 674 | s.attempts = 0 |
| 675 | } |
| 676 | |
| 677 | // dialRelay opens a WebSocket to the replica owning chatID and |
| 678 | // returns any buffered message_part snapshot plus a live channel of |
no test coverage detected