[services] Tunnelbroker - Skipping sending notif token request when notifications are off by the config flag
Summary:
This diff skipping sending new notif token requests to the bidirectional stream when the notifications are off by the notifications.disable config flag parameter. We don't need to send this message to the stream and should skip checking the existing notification token in this case.
Linear task: ENG-2639
Test Plan:
- Add the following config parameter to the tunnelbroker.ini file:
[notifications] disable = true
- Connect to the Tunnelbroker's message stream.
- The expected result should be no newNotifyTokenRequired message in any case.
Reviewers: jon, bartek
Reviewed By: bartek
Subscribers: ashoat, tomek, atul
Differential Revision: https://phab.comm.dev/D6850