diff options
Diffstat (limited to 'src/windows.c')
-rw-r--r-- | src/windows.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/windows.c b/src/windows.c index aeba6cd4..7015017d 100644 --- a/src/windows.c +++ b/src/windows.c @@ -47,6 +47,7 @@ #include "chat_log.h" #include "chat_session.h" #include "command.h" +#include "common.h" #include "contact.h" #include "contact_list.h" #include "log.h" @@ -330,7 +331,7 @@ ui_show_incoming_msg(const char * const from, const char * const message, win_type_t win_type; if (priv) { win_type = WIN_PRIVATE; - display_from = room_get_nick_from_full_jid(from); + display_from = get_nick_from_full_jid(from); } else { win_type = WIN_CHAT; display_from = strdup(from); |