Ensure authorUuid is set in outgoing quotes

This commit is contained in:
Scott Nonnenberg 2020-11-06 11:06:21 -08:00 committed by GitHub
parent 3468de255d
commit d4d9688447
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 39 additions and 19 deletions

18
ts/textsecure.d.ts vendored
View file

@ -606,10 +606,10 @@ export declare namespace DataMessageClass {
// Note: deep nesting
class Quote {
id?: ProtoBigNumberType;
author?: string;
authorUuid?: string;
text?: string;
id: ProtoBigNumberType | null;
author: string | null;
authorUuid: string | null;
text: string | null;
attachments?: Array<DataMessageClass.Quote.QuotedAttachment>;
bodyRanges?: Array<DataMessageClass.BodyRange>;
}
@ -621,11 +621,11 @@ export declare namespace DataMessageClass {
}
class Reaction {
emoji?: string;
remove?: boolean;
targetAuthorE164?: string;
targetAuthorUuid?: string;
targetTimestamp?: ProtoBigNumberType;
emoji: string | null;
remove: boolean | null;
targetAuthorE164: string | null;
targetAuthorUuid: string | null;
targetTimestamp: ProtoBigNumberType | null;
}
class Delete {