aboutsummaryrefslogtreecommitdiff
path: root/src/event.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/event.c')
-rw-r--r--src/event.c21
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
160void 160void
161event_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
181void
161event_receive_message(MESSENGER_Application *app, 182event_receive_message(MESSENGER_Application *app,
162 int argc, 183 int argc,
163 void **argv) 184 void **argv)