diff options
Diffstat (limited to 'src/event.c')
-rw-r--r-- | src/event.c | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/event.c b/src/event.c index 7047650..ac0680e 100644 --- a/src/event.c +++ b/src/event.c | |||
@@ -158,6 +158,27 @@ event_update_chats(MESSENGER_Application *app, | |||
158 | } | 158 | } |
159 | 159 | ||
160 | void | 160 | void |
161 | event_joining_contact(MESSENGER_Application *app, | ||
162 | int argc, | ||
163 | void **argv) | ||
164 | { | ||
165 | if (argc < 2) | ||
166 | return; | ||
167 | |||
168 | struct GNUNET_CHAT_Context *context = (struct GNUNET_CHAT_Context*) argv[0]; | ||
169 | |||
170 | UI_CHAT_ENTRY_Handle *handle = GNUNET_CHAT_context_get_user_pointer(context); | ||
171 | |||
172 | if (!handle) | ||
173 | return; | ||
174 | |||
175 | const struct GNUNET_CHAT_Message *msg; | ||
176 | msg = *((const struct GNUNET_CHAT_Message**) argv[1]); | ||
177 | |||
178 | // | ||
179 | } | ||
180 | |||
181 | void | ||
161 | event_receive_message(MESSENGER_Application *app, | 182 | event_receive_message(MESSENGER_Application *app, |
162 | int argc, | 183 | int argc, |
163 | void **argv) | 184 | void **argv) |