diff options
author | zugz (tox) <mbays+tox@sdf.org> | 2018-09-09 23:21:20 +0200 |
---|---|---|
committer | zugz (tox) <mbays+tox@sdf.org> | 2018-10-20 11:03:10 +0200 |
commit | 744dc2f5da2c54ad1e4d7d6ce229bc1756d81263 (patch) | |
tree | 35f6590fe3150118bc6b1336fbb0a7db06543668 /toxcore/group.c | |
parent | aa5c7828802b3fcaedfd8d6fe9a08ca714b9aa2b (diff) |
Make saving and loading the responsibility of Tox rather than Messenger
Diffstat (limited to 'toxcore/group.c')
-rw-r--r-- | toxcore/group.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/toxcore/group.c b/toxcore/group.c index 5feb483b..ee9548a1 100644 --- a/toxcore/group.c +++ b/toxcore/group.c | |||
@@ -2875,6 +2875,22 @@ void send_name_all_groups(Group_Chats *g_c) | |||
2875 | } | 2875 | } |
2876 | } | 2876 | } |
2877 | 2877 | ||
2878 | uint32_t conferences_size(const Group_Chats *g_c) | ||
2879 | { | ||
2880 | return 0; | ||
2881 | } | ||
2882 | |||
2883 | uint8_t *conferences_save(const Group_Chats *g_c, uint8_t *data) | ||
2884 | { | ||
2885 | return data; | ||
2886 | } | ||
2887 | |||
2888 | bool conferences_load_state_section(Group_Chats *g_c, const uint8_t *data, uint32_t length, uint16_t type, | ||
2889 | State_Load_Status *status) | ||
2890 | { | ||
2891 | return false; | ||
2892 | } | ||
2893 | |||
2878 | /* Create new groupchat instance. */ | 2894 | /* Create new groupchat instance. */ |
2879 | Group_Chats *new_groupchats(Mono_Time *mono_time, Messenger *m) | 2895 | Group_Chats *new_groupchats(Mono_Time *mono_time, Messenger *m) |
2880 | { | 2896 | { |