Skip to content

Commit

Permalink
searchHistory accepts a Partial<MAMQueryOptions>, not MAMQuery
Browse files Browse the repository at this point in the history
  • Loading branch information
EmlynC committed Feb 12, 2020
1 parent 75247aa commit 2708807
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/mam.ts
Expand Up @@ -20,7 +20,7 @@ declare module '../' {
getHistoryPreferences(): Promise<MAMPrefs>;
setHistoryPreferences(opts: Partial<MAMPrefs>): Promise<IQ>;
searchHistory(opts: Partial<MAMQueryOptions>): Promise<MAMFin>;
searchHistory(jid: string, opts: MAMQuery): Promise<MAMFin>;
searchHistory(jid: string, opts: Partial<MAMQueryOptions>): Promise<MAMFin>;
}

export interface AgentEvents {
Expand Down

0 comments on commit 2708807

Please sign in to comment.