Skip to content

Commit

Permalink
cleanup: align group send err enum order
Browse files Browse the repository at this point in the history
  • Loading branch information
Green-Sky committed Mar 8, 2024
1 parent b03b571 commit b1705a6
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions toxcore/tox.h
Original file line number Diff line number Diff line change
Expand Up @@ -4533,6 +4533,11 @@ typedef enum Tox_Err_Group_Send_Private_Message {
*/
TOX_ERR_GROUP_SEND_PRIVATE_MESSAGE_EMPTY,

/**
* The message type is invalid.
*/
TOX_ERR_GROUP_SEND_PRIVATE_MESSAGE_BAD_TYPE,

/**
* The caller does not have the required permissions to send group messages.
*/
Expand All @@ -4548,11 +4553,6 @@ typedef enum Tox_Err_Group_Send_Private_Message {
*/
TOX_ERR_GROUP_SEND_PRIVATE_MESSAGE_DISCONNECTED,

/**
* The message type is invalid.
*/
TOX_ERR_GROUP_SEND_PRIVATE_MESSAGE_BAD_TYPE,

} Tox_Err_Group_Send_Private_Message;

const char *tox_err_group_send_private_message_to_string(Tox_Err_Group_Send_Private_Message value);
Expand Down

0 comments on commit b1705a6

Please sign in to comment.