Migrate Remaining Chat Settings Commands to Helix API (#4040)

This commit is contained in:
nerix
2022-10-03 19:42:02 +02:00
committed by GitHub
parent 4c2e97bea6
commit 25bccc90b4
7 changed files with 846 additions and 39 deletions
+11 -1
View File
@@ -1650,7 +1650,17 @@ void Helix::updateChatSettings(
switch (result.status())
{
case 400:
case 400: {
if (message.contains("must be in the range"))
{
failureCallback(Error::OutOfRange, message);
}
else
{
failureCallback(Error::Forwarded, message);
}
}
break;
case 409:
case 422:
case 425: {