Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F33316409
D11131.1768828548.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D11131.1768828548.diff
View Options
diff --git a/lib/socket/calendar-query-handler.react.js b/lib/socket/calendar-query-handler.react.js
--- a/lib/socket/calendar-query-handler.react.js
+++ b/lib/socket/calendar-query-handler.react.js
@@ -23,11 +23,11 @@
useDispatchActionPromise,
} from '../utils/redux-promise-utils.js';
import { useSelector } from '../utils/redux-utils.js';
-import { ashoatKeyserverID } from '../utils/validation-utils.js';
type BaseProps = {
+currentCalendarQuery: () => CalendarQuery,
+frozen: boolean,
+ +keyserverID: string,
};
type Props = {
...BaseProps,
@@ -128,7 +128,7 @@
const ConnectedCalendarQueryHandler: React.ComponentType<BaseProps> =
React.memo<BaseProps>(function ConnectedCalendarQueryHandler(props) {
- const connection = useSelector(connectionSelector(ashoatKeyserverID));
+ const connection = useSelector(connectionSelector(props.keyserverID));
invariant(connection, 'keyserver missing from keyserverStore');
const lastUserInteractionCalendar = useSelector(
state => state.entryStore.lastUserInteractionCalendar,
diff --git a/lib/socket/socket.react.js b/lib/socket/socket.react.js
--- a/lib/socket/socket.react.js
+++ b/lib/socket/socket.react.js
@@ -372,6 +372,7 @@
<CalendarQueryHandler
currentCalendarQuery={this.props.currentCalendarQuery}
frozen={this.props.frozen}
+ keyserverID={this.props.keyserverID}
/>
<ReportHandler canSendReports={this.props.canSendReports} />
</React.Fragment>
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Jan 19, 1:15 PM (3 h, 24 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5956545
Default Alt Text
D11131.1768828548.diff (1 KB)
Attached To
Mode
D11131: [lib] Add a keyserverID prop to calendar-query-handler
Attached
Detach File
Event Timeline
Log In to Comment