File tree Expand file tree Collapse file tree 1 file changed +0
-8
lines changed Expand file tree Collapse file tree 1 file changed +0
-8
lines changed Original file line number Diff line number Diff line change @@ -225,13 +225,8 @@ class UnreadMessagesSnapshot {
225
225
class UnreadDmSnapshot {
226
226
@JsonKey (readValue: _readOtherUserId)
227
227
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
231
228
final List <int > unreadMessageIds;
232
229
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
235
230
// TODO(server-5): Simplify away.
236
231
static _readOtherUserId (Map json, String key) {
237
232
return json[key] ?? json['sender_id' ];
@@ -271,9 +266,6 @@ class UnreadStreamSnapshot {
271
266
@JsonSerializable (fieldRename: FieldRename .snake)
272
267
class UnreadHuddleSnapshot {
273
268
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
277
269
final List <int > unreadMessageIds;
278
270
279
271
UnreadHuddleSnapshot ({
You can’t perform that action at this time.
0 commit comments