1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-07-15 07:06:45 +02:00

cleanup: Remove all uses of deprecated enum names.

All-caps enum names have been deprecated for a while now and will go
away in 0.3.0.
This commit is contained in:
iphydf
2022-03-07 19:20:35 +00:00
parent 310cf464d0
commit fdfaaf953f
4 changed files with 4 additions and 4 deletions

View File

@ -203,7 +203,7 @@ void cqueue_try_send(ToxWindow *self, Tox *m)
return;
}
TOX_ERR_FRIEND_SEND_MESSAGE err;
Tox_Err_Friend_Send_Message err;
Tox_Message_Type type = msg->type == OUT_MSG ? TOX_MESSAGE_TYPE_NORMAL : TOX_MESSAGE_TYPE_ACTION;
uint32_t receipt = tox_friend_send_message(m, self->num, type, (uint8_t *) msg->message, msg->len, &err);