about summary refs log tree commit diff stats
path: root/src/event
diff options
context:
space:
mode:
Diffstat (limited to 'src/event')
-rw-r--r--src/event/server_events.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/event/server_events.c b/src/event/server_events.c
index c1f7b90e..9129562b 100644
--- a/src/event/server_events.c
+++ b/src/event/server_events.c
@@ -51,6 +51,7 @@
 #include "event/common.h"
 #include "plugins/plugins.h"
 #include "ui/window_list.h"
+#include "tools/bookmark_ignore.h"
 #include "xmpp/xmpp.h"
 #include "xmpp/muc.h"
 #include "xmpp/chat_session.h"
@@ -1432,7 +1433,12 @@ sv_ev_lastactivity_response(const char *const from, const int seconds, const cha
 void
 sv_ev_bookmark_autojoin(Bookmark *bookmark)
 {
+    if (bookmark_ignored(bookmark)) {
+        return;
+    }
+
     char *nick = NULL;
+
     if (bookmark->nick) {
         nick = strdup(bookmark->nick);
     } else {