aboutsummaryrefslogtreecommitdiff
path: root/examples/qmc-example.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/qmc-example.cpp')
-rw-r--r--examples/qmc-example.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/qmc-example.cpp b/examples/qmc-example.cpp
index 7226c060..e2ec1d12 100644
--- a/examples/qmc-example.cpp
+++ b/examples/qmc-example.cpp
@@ -218,6 +218,7 @@ void QMCTest::markDirectChat()
cout << "Warning: the room is already a direct chat,"
" only unmarking will be tested" << endl;
checkDirectChatOutcome({{ c->user(), targetRoom->id() }});
+ return;
}
// Connect first because the signal is emitted synchronously.
connect(c.data(), &Connection::directChatsListChanged,