mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-21 08:58:19 +01:00
Support for GV1 -> GV2 migration
This commit is contained in:
committed by
Josh Perez
parent
a0baa3e03f
commit
2c69f2c367
6
ts/textsecure.d.ts
vendored
6
ts/textsecure.d.ts
vendored
@@ -16,6 +16,7 @@ import SendMessage, { SendOptionsType } from './textsecure/SendMessage';
|
||||
import { WebAPIType } from './textsecure/WebAPI';
|
||||
import utils from './textsecure/Helpers';
|
||||
import { CallingMessage as CallingMessageClass } from 'ringrtc';
|
||||
import { WhatIsThis } from './window.d';
|
||||
|
||||
type AttachmentType = any;
|
||||
|
||||
@@ -256,6 +257,8 @@ export declare class MemberClass {
|
||||
profileKey?: ProtoBinaryType;
|
||||
presentation?: ProtoBinaryType;
|
||||
joinedAtVersion?: number;
|
||||
|
||||
// Note: only role and presentation are required when creating a group
|
||||
}
|
||||
|
||||
type MemberRoleEnum = number;
|
||||
@@ -719,6 +722,9 @@ export declare class GroupContextClass {
|
||||
name?: string | null;
|
||||
membersE164?: Array<string>;
|
||||
avatar?: AttachmentPointerClass | null;
|
||||
|
||||
// Note: these additional properties are added in the course of processing
|
||||
derivedGroupV2Id?: string;
|
||||
}
|
||||
|
||||
export declare class GroupContextV2Class {
|
||||
|
||||
Reference in New Issue
Block a user