mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 22:13:26 +00:00
stream_data: Always initialize pin_to_top.
This simplifies the StreamSubscription type, and parallels how we always initialize every other property that isn’t in NeverSubscribedStream (audible_notifications, desktop_notifications, email_notifications, push_notifications, wildcard_mentions_notify, color, is_muted). email_address was already optional. Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
44fde64c42
commit
9c2f38193d
@@ -74,7 +74,7 @@ type StreamContext = {
|
||||
invite_only: boolean;
|
||||
is_web_public: boolean;
|
||||
stream_name: string;
|
||||
pin_to_top: boolean | undefined;
|
||||
pin_to_top: boolean;
|
||||
is_muted: boolean;
|
||||
stream_color: string;
|
||||
stream_header_color: string;
|
||||
|
||||
Reference in New Issue
Block a user