Fetch PNI group credentials
This commit is contained in:
parent
b9ba732724
commit
a450e13a99
61 changed files with 1911 additions and 875 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue