mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
fix(groups): remove logic that blocks parseConferenceSendMessageError
This commit is contained in:
parent
765fce94b7
commit
9099eea04f
|
@ -723,9 +723,8 @@ void Core::sendGroupMessageWithType(int groupId, const QString& message, Tox_Mes
|
|||
|
||||
ToxString cMsg(message);
|
||||
Tox_Err_Conference_Send_Message error;
|
||||
bool ok =
|
||||
tox_conference_send_message(tox.get(), groupId, type, cMsg.data(), cMsg.size(), &error);
|
||||
if (!ok || !parseConferenceSendMessageError(error)) {
|
||||
tox_conference_send_message(tox.get(), groupId, type, cMsg.data(), cMsg.size(), &error);
|
||||
if (!parseConferenceSendMessageError(error)) {
|
||||
emit groupSentFailed(groupId);
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user