Support for joining New Groups via invite links

This commit is contained in:
Scott Nonnenberg
2021-01-29 14:16:48 -08:00
committed by GitHub
parent c0510b08a5
commit a48b3e381e
41 changed files with 2532 additions and 381 deletions
+15
View File
@@ -327,6 +327,21 @@ try {
}
});
ipc.on('show-group-via-link', (_event, info) => {
const { hash } = info;
const { showGroupViaLink } = window.Events;
if (showGroupViaLink) {
showGroupViaLink(hash);
}
});
ipc.on('unknown-sgnl-link', () => {
const { unknownSignalLink } = window.Events;
if (unknownSignalLink) {
unknownSignalLink();
}
});
ipc.on('install-sticker-pack', (_event, info) => {
const { packId, packKey } = info;
const { installStickerPack } = window.Events;