Fetch PNI group credentials

This commit is contained in:
Fedor Indutny 2022-07-08 13:46:25 -07:00 committed by GitHub
parent b9ba732724
commit a450e13a99
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
61 changed files with 1911 additions and 875 deletions

View file

@ -205,6 +205,7 @@ const dataInterface: ClientInterface = {
updateConversations,
removeConversation,
updateAllConversationColors,
removeAllProfileKeyCredentials,
getAllConversations,
getAllConversationIds,
@ -1161,7 +1162,7 @@ async function getMessageBySender({
sent_at,
}: {
source: string;
sourceUuid: string;
sourceUuid: UUIDStringType;
sourceDevice: number;
sent_at: number;
}) {
@ -1271,7 +1272,7 @@ async function getOlderStories(options: {
limit?: number;
receivedAt?: number;
sentAt?: number;
sourceUuid?: string;
sourceUuid?: UUIDStringType;
}): Promise<Array<MessageType>> {
return channels.getOlderStories(options);
}
@ -1794,6 +1795,10 @@ async function updateAllConversationColors(
);
}
async function removeAllProfileKeyCredentials(): Promise<void> {
return channels.removeAllProfileKeyCredentials();
}
function getMaxMessageCounter(): Promise<number | undefined> {
return channels.getMaxMessageCounter();
}