def notify_realm_filters(realm: Realm) -> None:
    realm_filters = realm_filters_for_realm(realm.id)
    event = dict(type='realm_filters', realm_filters=realm_filters)
    send_event(realm, event, active_user_ids(realm.id))
def notify_realm_filters(realm: Realm) -> None:
    realm_filters = realm_filters_for_realm(realm.id)
    event = dict(type='realm_filters', realm_filters=realm_filters)
    send_event(realm, event, active_user_ids(realm.id))