summaryrefslogtreecommitdiff
path: root/degesch.c
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2020-10-31 15:58:06 +0100
committerPřemysl Eric Janouch <p@janouch.name>2020-10-31 16:06:12 +0100
commitb4ed52015ae12a9b421530b6a6c02730ba97c94b (patch)
tree2d989d03c12e5d92ad1e03aa7bef4bf5185281e7 /degesch.c
parent271689da99d4f83a0281a3d91ed32300c1da7ce1 (diff)
downloadxK-b4ed52015ae12a9b421530b6a6c02730ba97c94b.tar.gz
xK-b4ed52015ae12a9b421530b6a6c02730ba97c94b.tar.xz
xK-b4ed52015ae12a9b421530b6a6c02730ba97c94b.zip
degesch: mark some issues for later resolution
Diffstat (limited to 'degesch.c')
-rw-r--r--degesch.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/degesch.c b/degesch.c
index ee3e455..4eeea23 100644
--- a/degesch.c
+++ b/degesch.c
@@ -4497,6 +4497,7 @@ irc_get_or_make_user_buffer (struct server *s, const char *nickname)
// Open a new buffer for the user
buffer = buffer_new (s->ctx->input);
buffer->type = BUFFER_PM;
+ // FIXME: this probably needs to be converted to UTF-8
buffer->name = xstrdup_printf ("%s.%s", s->name, nickname);
buffer->server = s;
buffer->user = user;
@@ -6644,6 +6645,7 @@ irc_handle_join (struct server *s, const struct irc_message *msg)
buffer = buffer_new (s->ctx->input);
buffer->type = BUFFER_CHANNEL;
+ // FIXME: this probably needs to be converted to UTF-8
buffer->name = xstrdup_printf ("%s.%s", s->name, channel_name);
buffer->server = s;
buffer->channel = channel =
@@ -6651,6 +6653,7 @@ irc_handle_join (struct server *s, const struct irc_message *msg)
str_map_set (&s->irc_buffer_map, channel->name, buffer);
buffer_add (s->ctx, buffer);
+ // XXX: this is annoying, consider only doing it a while after /join
buffer_activate (s->ctx, buffer);
}