mirror of
https://github.com/zulip/zulip.git
synced 2025-11-05 06:23:38 +00:00
subscription_info: Send partial subscriber info to client separately.
We're doing this so that the client can keep track of which channels it might need to request full subscriber data from, and which already have full subscriber data.
This commit is contained in:
@@ -233,6 +233,7 @@ class SubscriptionStreamDict(TypedDict):
|
||||
stream_post_policy: int
|
||||
stream_weekly_traffic: int | None
|
||||
subscribers: NotRequired[list[int]]
|
||||
partial_subscribers: NotRequired[list[int]]
|
||||
wildcard_mentions_notify: bool | None
|
||||
|
||||
|
||||
@@ -259,6 +260,7 @@ class NeverSubscribedStreamDict(TypedDict):
|
||||
stream_post_policy: int
|
||||
stream_weekly_traffic: int | None
|
||||
subscribers: NotRequired[list[int]]
|
||||
partial_subscribers: NotRequired[list[int]]
|
||||
|
||||
|
||||
class DefaultStreamDict(TypedDict):
|
||||
|
||||
Reference in New Issue
Block a user