You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (strcmp(returnCode, "BetterChat_RequestEmoteFile") == 0)
204
+
205
+
if (error == ERROR_ok) // on success, ignore
206
+
return1;
207
+
208
+
if (strcmp(returnCode, returnCodeEmoteFileRequest) == 0)
201
209
{
202
210
ts3Functions.logMessage(QString("Could not dowload emotes, %1").arg(errorMessage).toLatin1(), LogLevel_INFO, "BetterChat", 0);
203
211
return1;
204
212
}
205
-
if (strcmp(returnCode, "BetterChat_EmoteFileInfo") == 0)//trying to catch i_ft_needed_file_browse_power permission error and others
213
+
if (strcmp(returnCode, returnCodeEmoteFileInfo) == 0)
206
214
{
207
-
ts3Functions.logMessage(QString("Could not get emote fileinfo, %1").arg(errorMessage).toLatin1(), LogLevel_INFO, "BetterChat", 0);// this is hit correctly and printed to log
208
-
return1;// this should cause the client to ignore the error but it still gets printed in the chat and the user alerted!!!
215
+
ts3Functions.logMessage(QString("Could not get emote fileinfo, %1").arg(errorMessage).toLatin1(), LogLevel_INFO, "BetterChat", 0);
216
+
return1;
209
217
}
210
218
211
-
ts3Functions.logMessage(errorMessage, LogLevel_INFO, "BetterChat", 0); // log any other possible errors
219
+
if (returnCode)
220
+
{
221
+
return1;
222
+
}
212
223
213
-
/* See onServerErrorEvent for return code description*/
214
-
return1; // returning 1 here should make the client ignore any error but its not working?
224
+
// See onServerErrorEvent for return code description
0 commit comments