def notify_default_streams(realm: Realm) -> None:
    event = dict(type='default_streams', default_streams=streams_to_dicts_sorted(get_default_streams_for_realm(realm.id)))
    send_event(realm, event, active_non_guest_user_ids(realm.id))
def notify_default_streams(realm: Realm) -> None:
    event = dict(type='default_streams', default_streams=streams_to_dicts_sorted(get_default_streams_for_realm(realm.id)))
    send_event(realm, event, active_non_guest_user_ids(realm.id))