Page MenuHomePhabricator

D11292.diff
No OneTemporary

D11292.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, 5:06 PM (21 h, 39 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2399454
Default Alt Text
D11292.diff (803 B)

Event Timeline