about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--src/event/server_events.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/event/server_events.c b/src/event/server_events.c
index 5ad6ab4f..cf1c35b8 100644
--- a/src/event/server_events.c
+++ b/src/event/server_events.c
@@ -221,7 +221,7 @@ sv_ev_lost_connection(void)
 #ifdef HAVE_LIBGPGME
     p_gpg_on_disconnect();
 #endif
-#ifdef HAVE_LIBGPGME
+#ifdef HAVE_OMEMO
     omemo_on_disconnect();
 #endif
 }