Skip to content

Commit 36a262d

Browse files
chrisbobbegnprice
authored andcommitted
api types: Remove group-pm-with from NarrowElement; support will be dropped
We don't currently use this (Flow doesn't report errors after its removal), but now we won't be tempted to use it.
1 parent 0d92d2e commit 36a262d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/api/modelTypes.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -693,8 +693,9 @@ export type NarrowElement =
693693
| {| +operator: 'stream', +operand: string | number |} // stream ID
694694
| {| +operator: 'pm-with', +operand: string | $ReadOnlyArray<UserId> |}
695695
| {| +operator: 'sender', +operand: string | UserId |}
696-
| {| +operator: 'group-pm-with', +operand: string | UserId |}
697696
| {| +operator: 'near' | 'id', +operand: number |} // message ID
697+
// ('group-pm-with' was accepted at least through server 6.x, but support
698+
// will be dropped: https://github.com/zulip/zulip/issues/24806 )
698699
;
699700

700701
/**

0 commit comments

Comments
 (0)