diff options
author | TheJackiMonster <thejackimonster@gmail.com> | 2021-12-03 22:40:43 +0100 |
---|---|---|
committer | TheJackiMonster <thejackimonster@gmail.com> | 2021-12-03 22:40:43 +0100 |
commit | 5f187deccd1685385b03e20d7f3b55f600adf6ac (patch) | |
tree | 20fff12d3aa02d98a6a9a7ab4aca326aae79c50c /src/gnunet_chat_lib_intern.c | |
parent | 1edfdc77b42d647384c7ef09e2a2b0a59e69633a (diff) | |
download | libgnunetchat-5f187deccd1685385b03e20d7f3b55f600adf6ac.tar.gz libgnunetchat-5f187deccd1685385b03e20d7f3b55f600adf6ac.zip |
Adjusted invitations to groups to check for common contexts
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
Diffstat (limited to 'src/gnunet_chat_lib_intern.c')
-rw-r--r-- | src/gnunet_chat_lib_intern.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/gnunet_chat_lib_intern.c b/src/gnunet_chat_lib_intern.c index b010607..a770367 100644 --- a/src/gnunet_chat_lib_intern.c +++ b/src/gnunet_chat_lib_intern.c | |||
@@ -93,23 +93,6 @@ it_handle_iterate_groups (void *cls, | |||
93 | return it->cb(it->cls, it->handle, group); | 93 | return it->cb(it->cls, it->handle, group); |
94 | } | 94 | } |
95 | 95 | ||
96 | struct GNUNET_CHAT_ContactFindRoom | ||
97 | { | ||
98 | struct GNUNET_MESSENGER_Room *room; | ||
99 | }; | ||
100 | |||
101 | int | ||
102 | it_contact_find_room (void *cls, | ||
103 | struct GNUNET_MESSENGER_Room *room, | ||
104 | GNUNET_UNUSED const struct GNUNET_MESSENGER_Contact *member) | ||
105 | { | ||
106 | GNUNET_assert((cls) && (room)); | ||
107 | |||
108 | struct GNUNET_CHAT_ContactFindRoom *find = cls; | ||
109 | find->room = room; | ||
110 | return GNUNET_NO; | ||
111 | } | ||
112 | |||
113 | struct GNUNET_CHAT_RoomFindContact | 96 | struct GNUNET_CHAT_RoomFindContact |
114 | { | 97 | { |
115 | const struct GNUNET_MESSENGER_Contact *contact; | 98 | const struct GNUNET_MESSENGER_Contact *contact; |