aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/chat/chat.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/chat/chat.c')
-rw-r--r--src/plugins/chat/chat.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/plugins/chat/chat.c b/src/plugins/chat/chat.c
index 33245eaf..ab935b7d 100644
--- a/src/plugins/chat/chat.c
+++ b/src/plugins/chat/chat.c
@@ -294,15 +294,10 @@ create_chat_room_tab (char *room_name, char *nick)
294 client->room_name = GNUNET_malloc (strlen (room_name)); 294 client->room_name = GNUNET_malloc (strlen (room_name));
295 strcpy (client->room_name, room_name); 295 strcpy (client->room_name, room_name);
296 296
297 client->priv_key = NULL;
298 client->priv_key =
299 GNUNET_CHAT_initPrivateKey (chat_ectx, chat_cfg, room_name,
300 &client->pub_key);
301
302 /* We do a silly strdup later on member_info... either check for NULL or only pass "" for member_info!! */ 297 /* We do a silly strdup later on member_info... either check for NULL or only pass "" for member_info!! */
303 chatRoom = 298 chatRoom =
304 GNUNET_CHAT_join_room (chat_ectx, chat_cfg, nick, room_name, 299 GNUNET_CHAT_join_room (chat_ectx, chat_cfg, nick, room_name,
305 &client->pub_key, client->priv_key, "", 300 "",
306 &receive_callback, client, &member_list_callback, 301 &receive_callback, client, &member_list_callback,
307 client); 302 client);
308 303