diff --git a/src/tests/user.cpp b/src/tests/user.cpp index 0575f9792960a5b13db79bd36ae9f81d5a1f24e6..d3e58e3b482e14019eac8bdb9caa333fb52b2c30 100644 --- a/src/tests/user.cpp +++ b/src/tests/user.cpp @@ -170,7 +170,7 @@ class UserTest : public CPPUNIT_NS :: TestFixture, public BasicTest { // Add 1 participant Conversation *conv = user->getConversationManager()->getConversation("#room"); - conv->handleParticipantChanged("anotheruser", 0, Swift::StatusShow::Away, "my status message"); + conv->handleParticipantChanged("anotheruser", Conversation::PARTICIPANT_FLAG_NONE, Swift::StatusShow::Away, "my status message"); // Connect 2nd resource connectSecondResource();