Moved jid related functions to common

This commit is contained in:
James Booth
2013-01-12 01:44:21 +00:00
parent bfd7362e2a
commit d7b969b135
6 changed files with 117 additions and 115 deletions

View File

@@ -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);