about summary refs log tree commit diff stats
path: root/tests/test_server_events.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_server_events.c')
-rw-r--r--tests/test_server_events.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_server_events.c b/tests/test_server_events.c
index ef5620fd..af8f8d1a 100644
--- a/tests/test_server_events.c
+++ b/tests/test_server_events.c
@@ -216,7 +216,7 @@ void handle_presence_error_when_nick_conflict_does_not_join_room(void **state)
 
     handle_presence_error(from, type, err_msg);
 
-    gboolean room_is_active = muc_room_is_active(jidp);
+    gboolean room_is_active = muc_room_is_active(jidp->barejid);
     assert_false(room_is_active);
 
     muc_close();