Page MenuHomePhabricator

D11292.id37989.diff
No OneTemporary

D11292.id37989.diff

diff --git a/lib/tunnelbroker/tunnelbroker-context.js b/lib/tunnelbroker/tunnelbroker-context.js
--- a/lib/tunnelbroker/tunnelbroker-context.js
+++ b/lib/tunnelbroker/tunnelbroker-context.js
@@ -48,6 +48,7 @@
+addListener: (listener: TunnelbrokerSocketListener) => void,
+removeListener: (listener: TunnelbrokerSocketListener) => void,
+connected: boolean,
+ +isAuthorized: boolean,
+setUnauthorizedDeviceID: (unauthorizedDeviceID: ?string) => void,
};
@@ -376,11 +377,12 @@
() => ({
sendMessage,
connected,
+ isAuthorized,
addListener,
removeListener,
setUnauthorizedDeviceID,
}),
- [addListener, connected, removeListener, sendMessage],
+ [addListener, connected, removeListener, sendMessage, isAuthorized],
);
return (

File Metadata

Mime Type
text/plain
Expires
Fri, Nov 1, 6:31 PM (22 h, 4 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2399454
Default Alt Text
D11292.id37989.diff (803 B)

Event Timeline