mirror of
https://github.com/zulip/zulip.git
synced 2026-06-30 21:11:04 +08:00
9 lines
222 B
TypeScript
9 lines
222 B
TypeScript
import {realm} from "./state_data.ts";
|
|
|
|
export function is_giphy_enabled(): boolean {
|
|
return (
|
|
realm.giphy_api_key !== "" &&
|
|
realm.realm_giphy_rating !== realm.giphy_rating_options.disabled.id
|
|
);
|
|
}
|