Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
message_edit: Remove TODOs to parse more data that we don't need.
evykassirer113de145474e
diff --git a/web/src/message_edit.ts b/web/src/message_edit.tsindex fb8ecbd788a..2e32018fb65 100644--- a/web/src/message_edit.ts+++ b/web/src/message_edit.ts@@ -1466,7 +1466,6 @@ export function with_first_message_id(url: "/json/messages",data,success(data) {- // TODO: Sync this with the actual data structure we receive here.const {messages} = z.object({messages: z.array(z.object({id: z.number()}))}).parse(data);@@ -1502,7 +1501,6 @@ export function is_message_oldest_or_newest(url: "/json/messages",data,success(data) {- // TODO: Sync this with the actual data structure we receive here.const {messages} = z.object({messages: z.array(z.object({id: z.number()}))}).parse(data);