Remove sticker send flag
This commit is contained in:
parent
539c02cb92
commit
7a0197b08c
3 changed files with 0 additions and 9 deletions
|
@ -918,10 +918,6 @@
|
||||||
},
|
},
|
||||||
|
|
||||||
async sendStickerMessage(packId, stickerId) {
|
async sendStickerMessage(packId, stickerId) {
|
||||||
if (!window.ENABLE_STICKER_SEND) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
const packData = window.Signal.Stickers.getStickerPack(packId);
|
const packData = window.Signal.Stickers.getStickerPack(packId);
|
||||||
const stickerData = window.Signal.Stickers.getSticker(packId, stickerId);
|
const stickerData = window.Signal.Stickers.getSticker(packId, stickerId);
|
||||||
if (!stickerData || !packData) {
|
if (!stickerData || !packData) {
|
||||||
|
|
|
@ -2149,10 +2149,6 @@
|
||||||
},
|
},
|
||||||
|
|
||||||
showStickerPackPreview(packId, packKey) {
|
showStickerPackPreview(packId, packKey) {
|
||||||
if (!window.ENABLE_STICKER_SEND) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
window.Signal.Stickers.downloadEphemeralPack(packId, packKey);
|
window.Signal.Stickers.downloadEphemeralPack(packId, packKey);
|
||||||
|
|
||||||
const props = {
|
const props = {
|
||||||
|
|
|
@ -15,7 +15,6 @@ const browserWindow = remote.getCurrentWindow();
|
||||||
window.isFocused = () => browserWindow.isFocused();
|
window.isFocused = () => browserWindow.isFocused();
|
||||||
|
|
||||||
// Waiting for clients to implement changes on receive side
|
// Waiting for clients to implement changes on receive side
|
||||||
window.ENABLE_STICKER_SEND = true;
|
|
||||||
window.TIMESTAMP_VALIDATION = false;
|
window.TIMESTAMP_VALIDATION = false;
|
||||||
window.PAD_ALL_ATTACHMENTS = false;
|
window.PAD_ALL_ATTACHMENTS = false;
|
||||||
window.SEND_RECIPIENT_UPDATES = false;
|
window.SEND_RECIPIENT_UPDATES = false;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue