(feat): add gif picker & media saving
All checks were successful
/ build-web (push) Successful in 1m31s
/ build-desktop (linux) (push) Successful in 7m46s
/ build-mobile (push) Successful in 17m42s
/ release (push) Successful in 34s

This commit is contained in:
Alois 2026-06-14 15:25:24 +02:00
commit 87e4a158e3
8 changed files with 873 additions and 25 deletions

View file

@ -261,6 +261,12 @@ export interface Storage extends SettingsStorageDefaults {
call_mute_range_start: number;
call_mute_range_end: number;
chat_trusted_domains: string[];
chat_picker_saved_media: string[];
chat_picker_last_tab: "gif" | "meme" | "saved";
chat_picker_size: {
width: number;
height: number;
} | null;
}
export const storageDefaults: Storage = {
@ -297,7 +303,33 @@ export const storageDefaults: Storage = {
ttp_server_cert: "",
call_mute_range_start: -55,
call_mute_range_end: -45,
chat_trusted_domains: ["tenor.com", "c.tenor.com"],
chat_trusted_domains: [
// Other platforms
"cdn.discordapp.com",
// Tenor
"tenor.com",
"c.tenor.com",
// Klipy
"static.klipy.com",
"static1.klipy.com",
"static2.klipy.com",
// Giphy
"giphy.com",
"www.giphy.com",
"media.giphy.com",
"i.giphy.com",
"media0.giphy.com",
"media1.giphy.com",
"media2.giphy.com",
"media3.giphy.com",
"media4.giphy.com",
],
chat_picker_saved_media: [],
chat_picker_last_tab: "gif",
chat_picker_size: null,
};
// User Status