Remove obsolete capabilities, improve routine profile fetch

This commit is contained in:
Scott Nonnenberg
2023-08-07 16:12:57 -07:00
committed by GitHub
parent 4ba3a7856c
commit 3299b8f323
11 changed files with 147 additions and 212 deletions

View File

@@ -1850,12 +1850,6 @@ export async function startApp(): Promise<void> {
// Note: we always have to register our capabilities all at once, so we do this
// after connect on every startup
await server.registerCapabilities({
announcementGroup: true,
giftBadges: true,
'gv2-3': true,
senderKey: true,
changeNumber: true,
stories: true,
pni: isPnpEnabled(),
});
} catch (error) {