Skip to content
Permalink
Browse files

Merge pull request #429 from EmlynC/search-history-annotation

searchHistory accepts a Partial<MAMQueryOptions>, not MAMQuery
  • Loading branch information
legastero committed Feb 12, 2020
2 parents 1e2b4e2 + 2708807 commit 56b9b4382fb2165906a436f7d6ea14f03b3cd25f
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/plugins/mam.ts
@@ -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 {

0 comments on commit 56b9b43

Please sign in to comment.
You can’t perform that action at this time.