aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/connection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/connection.cpp b/lib/connection.cpp
index 27211a77..af2aa2ab 100644
--- a/lib/connection.cpp
+++ b/lib/connection.cpp
@@ -792,7 +792,7 @@ ForgetRoomJob* Connection::forgetRoom(const QString& id)
{
auto leaveJob = room->leaveRoom();
connect(leaveJob, &BaseJob::result, this, [this, leaveJob, forgetJob, room] {
- // After leave, continue if there is no error or the room id is not found (IncorrectRequestError)
+ // After leave, continue if there is no error or the room id is not found
if(!leaveJob->error() || leaveJob->error() == BaseJob::StatusCode::UnknownObjectError) {
forgetJob->start(connectionData());
// If the matching /sync response hasn't arrived yet, mark the room