Skip to content

Commit 9064b8f

Browse files
committed
api [nfc]: Remove some comment clarifications now that docs are fixed
These are made unnecessary by zulip/zulip#26590.
1 parent 807f165 commit 9064b8f

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

lib/api/model/initial_snapshot.dart

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -225,13 +225,8 @@ class UnreadMessagesSnapshot {
225225
class UnreadDmSnapshot {
226226
@JsonKey(readValue: _readOtherUserId)
227227
final int otherUserId;
228-
229-
// The doc mistakenly calls this `unread_ids`:
230-
// https://chat.zulip.org/#narrow/stream/412-api-documentation/topic/register.3A.20.60unread_msgs.2Epms.5B.5D.2Eunread_message_ids.60/near/1623940
231228
final List<int> unreadMessageIds;
232229

233-
// other_user_id was introduced at FL 119 as the new name for sender_id:
234-
// https://chat.zulip.org/#narrow/stream/412-api-documentation/topic/register.3A.20When.20was.20.60unread_msgs.2Epms.5B.5D.2Eother_user_id.60.20added.3F/near/1623961
235230
// TODO(server-5): Simplify away.
236231
static _readOtherUserId(Map json, String key) {
237232
return json[key] ?? json['sender_id'];
@@ -271,9 +266,6 @@ class UnreadStreamSnapshot {
271266
@JsonSerializable(fieldRename: FieldRename.snake)
272267
class UnreadHuddleSnapshot {
273268
final String userIdsString;
274-
275-
// The doc mistakenly calls this `unread_ids`:
276-
// https://chat.zulip.org/#narrow/stream/412-api-documentation/topic/register.3A.20.60unread_msgs.2Epms.5B.5D.2Eunread_message_ids.60/near/1623940
277269
final List<int> unreadMessageIds;
278270

279271
UnreadHuddleSnapshot({

0 commit comments

Comments
 (0)