Skip to content

Commit

Permalink
remove unused functions
Browse files Browse the repository at this point in the history
  • Loading branch information
alexrisch committed Jan 7, 2025
1 parent d14d994 commit 4e7db0d
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions utils/xmtpRN/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -134,18 +134,6 @@ export const useCheckCurrentInstallation = () => {
export const dropXmtpClient = (installationId: InstallationId) =>
Client.dropClient(installationId);

export const requestMessageHistorySync = async (
client: ConverseXmtpClientType
) => client.requestMessageHistorySync();

export const requestMessageHistorySyncByAccount = async (account: string) => {
const client = (await getXmtpClient(account)) as ConverseXmtpClientType;
if (!client) {
throw new Error("Client not found");
}
await requestMessageHistorySync(client);
};

export type InstallationSignature = {
installationPublicKey: string;
installationKeySignature: string;
Expand Down

0 comments on commit 4e7db0d

Please sign in to comment.