diff options
Diffstat (limited to 'src/chat.c')
-rw-r--r-- | src/chat.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -91,10 +91,11 @@ _chat_message(void *cls, | |||
91 | if (GNUNET_CHAT_KIND_DELETION == GNUNET_CHAT_message_get_kind(message)) | 91 | if (GNUNET_CHAT_KIND_DELETION == GNUNET_CHAT_message_get_kind(message)) |
92 | messages_remove( | 92 | messages_remove( |
93 | &(app->messages), | 93 | &(app->messages), |
94 | context, | ||
94 | GNUNET_CHAT_message_get_target(message) | 95 | GNUNET_CHAT_message_get_target(message) |
95 | ); | 96 | ); |
96 | 97 | ||
97 | messages_add(&(app->messages), message); | 98 | messages_add(&(app->messages), context, message); |
98 | } | 99 | } |
99 | 100 | ||
100 | _chat_event(app, KEY_RESIZE); | 101 | _chat_event(app, KEY_RESIZE); |