mirror of
https://github.com/Tha14/toxic.git
synced 2025-06-29 06:56:44 +02:00
make groupchat announcements behave properly
This commit is contained in:
@ -104,6 +104,9 @@ void str_to_lower(char *str);
|
||||
Returns nick len on success, -1 on failure */
|
||||
int get_nick_truncate(Tox *m, char *buf, int friendnum);
|
||||
|
||||
/* same as get_nick_truncate but for groupchats */
|
||||
int get_group_nick_truncate(Tox *m, char *buf, int peernum, int groupnum);
|
||||
|
||||
/* copies data to msg buffer.
|
||||
returns length of msg, which will be no larger than size-1 */
|
||||
uint16_t copy_tox_str(char *msg, size_t size, const char *data, uint16_t length);
|
||||
|
Reference in New Issue
Block a user