Remove sticker send flag

This commit is contained in:
Ken Powers 2020-01-29 14:36:20 -08:00 committed by Scott Nonnenberg
parent 539c02cb92
commit 7a0197b08c
3 changed files with 0 additions and 9 deletions

View File

@ -918,10 +918,6 @@
},
async sendStickerMessage(packId, stickerId) {
if (!window.ENABLE_STICKER_SEND) {
return;
}
const packData = window.Signal.Stickers.getStickerPack(packId);
const stickerData = window.Signal.Stickers.getSticker(packId, stickerId);
if (!stickerData || !packData) {

View File

@ -2149,10 +2149,6 @@
},
showStickerPackPreview(packId, packKey) {
if (!window.ENABLE_STICKER_SEND) {
return;
}
window.Signal.Stickers.downloadEphemeralPack(packId, packKey);
const props = {

View File

@ -15,7 +15,6 @@ const browserWindow = remote.getCurrentWindow();
window.isFocused = () => browserWindow.isFocused();
// Waiting for clients to implement changes on receive side
window.ENABLE_STICKER_SEND = true;
window.TIMESTAMP_VALIDATION = false;
window.PAD_ALL_ATTACHMENTS = false;
window.SEND_RECIPIENT_UPDATES = false;