diff --git a/src/tests/conversationmanager.cpp b/src/tests/conversationmanager.cpp index 0869ec8ac86dd606f2151ff064bc431b066fad15..480a7289faaf8de28b172c569a7d39d50d6ff478 100644 --- a/src/tests/conversationmanager.cpp +++ b/src/tests/conversationmanager.cpp @@ -402,7 +402,7 @@ class ConversationManagerTest : public CPPUNIT_NS :: TestFixture, public BasicTe User *user = userManager->getUser("user@localhost"); TestingConversation *conv = new TestingConversation(user->getConversationManager(), "#room", true); conv->setNickname("nickname"); - conv->setJID("user@localhost/resource"); + conv->addJID("user@localhost/resource"); received.clear(); conv->destroyRoom(); delete conv;