diff options
Diffstat (limited to 'toxcore/tox.c')
-rw-r--r-- | toxcore/tox.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/toxcore/tox.c b/toxcore/tox.c index 19146744..9eef6157 100644 --- a/toxcore/tox.c +++ b/toxcore/tox.c | |||
@@ -581,7 +581,7 @@ void tox_callback_group_action(Tox *tox, void (*function)(Messenger *tox, int, i | |||
581 | void *userdata) | 581 | void *userdata) |
582 | { | 582 | { |
583 | Messenger *m = tox; | 583 | Messenger *m = tox; |
584 | //m_callback_group_action(m, function, userdata); | 584 | g_callback_group_action(m->group_chat_object, function, userdata); |
585 | } | 585 | } |
586 | 586 | ||
587 | /* Set callback function for peer name list changes. | 587 | /* Set callback function for peer name list changes. |
@@ -668,8 +668,7 @@ int tox_group_message_send(Tox *tox, int groupnumber, const uint8_t *message, ui | |||
668 | int tox_group_action_send(Tox *tox, int groupnumber, const uint8_t *action, uint16_t length) | 668 | int tox_group_action_send(Tox *tox, int groupnumber, const uint8_t *action, uint16_t length) |
669 | { | 669 | { |
670 | Messenger *m = tox; | 670 | Messenger *m = tox; |
671 | //return group_action_send(m, groupnumber, action, length); | 671 | return group_action_send(m->group_chat_object, groupnumber, action, length); |
672 | return -1; | ||
673 | } | 672 | } |
674 | 673 | ||
675 | /* Check if the current peernumber corresponds to ours. | 674 | /* Check if the current peernumber corresponds to ours. |