diff options
author | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2018-04-05 20:41:19 +0900 |
---|---|---|
committer | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2018-04-05 20:41:19 +0900 |
commit | cf5b5e74b20de2a0579de6a176d76f96bbe87603 (patch) | |
tree | 2a17934dd190cbb8e555bba785e3369d97897854 | |
parent | b8244eadff1dbe151fe15998cf60cb9b82e684e6 (diff) | |
download | libquotient-cf5b5e74b20de2a0579de6a176d76f96bbe87603.tar.gz libquotient-cf5b5e74b20de2a0579de6a176d76f96bbe87603.zip |
qmc-example: fix false negatives due to a missing return
-rw-r--r-- | examples/qmc-example.cpp | 1 |
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, |