Page MenuHomePhabricator

D12360.diff
No OneTemporary

D12360.diff

diff --git a/keyserver/src/responders/activity-responders.js b/keyserver/src/responders/activity-responders.js
--- a/keyserver/src/responders/activity-responders.js
+++ b/keyserver/src/responders/activity-responders.js
@@ -8,6 +8,7 @@
type SetThreadUnreadStatusRequest,
type SetThreadUnreadStatusResult,
type ActivityUpdate,
+ activityUpdateValidator,
} from 'lib/types/activity-types.js';
import { tShape, tID } from 'lib/utils/validation-utils.js';
@@ -18,11 +19,7 @@
} from '../updaters/activity-updaters.js';
const activityUpdatesInputValidator: TList<Array<ActivityUpdate>> = t.list(
- tShape({
- focus: t.Bool,
- threadID: tID,
- latestMessage: t.maybe(tID),
- }),
+ activityUpdateValidator,
);
export const updateActivityResponderInputValidator: TInterface<UpdateActivityRequest> =

File Metadata

Mime Type
text/plain
Expires
Fri, Dec 20, 12:00 AM (20 h, 42 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2679234
Default Alt Text
D12360.diff (824 B)

Event Timeline