mirror of
https://github.com/Tha14/toxic.git
synced 2025-07-02 17:56:45 +02:00
Update group API
This commit is contained in:
@ -1372,7 +1372,7 @@ static void send_group_message(ToxWindow *self, Tox *m, uint32_t groupnumber, co
|
||||
|
||||
Tox_Err_Group_Send_Message err;
|
||||
|
||||
if (!tox_group_send_message(m, groupnumber, type, (uint8_t *) msg, strlen(msg), &err)) {
|
||||
if (!tox_group_send_message(m, groupnumber, type, (uint8_t *) msg, strlen(msg), NULL, &err)) {
|
||||
if (err == TOX_ERR_GROUP_SEND_MESSAGE_PERMISSIONS) {
|
||||
const Tox_Group_Role role = tox_group_self_get_role(m, groupnumber, NULL);
|
||||
|
||||
|
Reference in New Issue
Block a user