+Thu Feb 14 16:02:26 CET 2002 Pekka Riikonen <priikone@silcnet.org>
+
+ * Add the client on channel after it was resolved at the
+ channel message receiving, and it was not already on the
+ channel. Affected file lib/silcclient/client_channel.c.
+
Wed Feb 13 23:16:41 EET 2002 Pekka Riikonen <priikone@silcnet.org>
* Fixed the public key authentication to allocate always the
if (!channel)
goto out;
+ /* If this client is not on channel, add it there since it clearly
+ is there. */
+ if (!silc_client_on_channel(channel, clients[0])) {
+ SilcChannelUser chu = silc_calloc(1, sizeof(*chu));
+ chu->client = clients[0];
+ chu->channel = channel;
+ silc_hash_table_add(channel->user_list, clients[0], chu);
+ silc_hash_table_add(clients[0]->channels, channel, chu);
+ }
+
message = silc_channel_message_get_data(res->payload, NULL);
/* Pass the message to application */