Fix bugs with setting 'Away' user status

Signed-off-by: Claudio Cambra <claudio.cambra@gmail.com>
This commit is contained in:
Claudio Cambra 2022-08-05 19:57:59 +02:00
parent ec2bba7afd
commit 2209052f70

View file

@ -59,7 +59,7 @@ QString onlineStatusToString(OCC::UserStatus::OnlineStatus status)
case OCC::UserStatus::OnlineStatus::DoNotDisturb:
return QStringLiteral("dnd");
case OCC::UserStatus::OnlineStatus::Away:
return QStringLiteral("offline");
return QStringLiteral("away");
case OCC::UserStatus::OnlineStatus::Offline:
return QStringLiteral("offline");
case OCC::UserStatus::OnlineStatus::Invisible: