about summary refs log tree commit diff stats
path: root/src/xmpp/presence.c
diff options
context:
space:
mode:
authorPaul Fariello <paul@fariello.eu>2020-01-30 23:44:43 +0100
committerPaul Fariello <paul@fariello.eu>2020-01-31 10:07:08 +0100
commita52e3ea1d860b155c73869c3d6cc4fa81015b9cf (patch)
treef64dca66cc3d387d9f50325cf25d06cdbed3bd65 /src/xmpp/presence.c
parent8fba8a8958146a0fa42d649339b66604defd6297 (diff)
downloadprofani-tty-a52e3ea1d860b155c73869c3d6cc4fa81015b9cf.tar.gz
Add context to autocomplete_with_func and use it for omemo trust command
Fix #1068
Diffstat (limited to 'src/xmpp/presence.c')
-rw-r--r--src/xmpp/presence.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xmpp/presence.c b/src/xmpp/presence.c
index 3eab43a8..5056c3f2 100644
--- a/src/xmpp/presence.c
+++ b/src/xmpp/presence.c
@@ -161,7 +161,7 @@ presence_clear_sub_requests(void)
 }
 
 char*
-presence_sub_request_find(const char *const search_str, gboolean previous)
+presence_sub_request_find(const char *const search_str, gboolean previous, void *context)
 {
     return autocomplete_complete(sub_requests_ac, search_str, TRUE, previous);
 }