Fix groupV2 change rendering in notifications and left pane

This commit is contained in:
Scott Nonnenberg 2021-12-16 09:44:54 -08:00 committed by GitHub
parent 364f00f37a
commit 29c3b8af89
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 34 additions and 28 deletions

6
ts/window.d.ts vendored
View file

@ -111,6 +111,8 @@ import { CI } from './CI';
import { IPCEventsType, IPCEventsValuesType } from './util/createIPCEvents';
import { ConversationView } from './views/conversation_view';
import type { SignalContextType } from './windows/context';
import { GroupV2Change } from './components/conversation/GroupV2Change';
import * as GroupChange from './groupChange';
export { Long } from 'long';
@ -408,9 +410,7 @@ declare global {
QualifiedAddress: typeof QualifiedAddress;
};
Util: typeof Util;
GroupChange: {
renderChange: (change: unknown, things: unknown) => Array<string>;
};
GroupChange: typeof GroupChange;
Components: {
AttachmentList: typeof AttachmentList;
ChatColorPicker: typeof ChatColorPicker;