From e75b8dcfb318bc76ddfddf796da5824e906c8701 Mon Sep 17 00:00:00 2001 From: James Booth Date: Mon, 29 Dec 2014 02:08:06 +0000 Subject: Renamed recipient->barejid in chat sessions --- src/chat_session.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src') diff --git a/src/chat_session.c b/src/chat_session.c index f615bded..43b20806 100644 --- a/src/chat_session.c +++ b/src/chat_session.c @@ -65,9 +65,9 @@ typedef struct chat_session_t { static GHashTable *sessions; -static ChatSession* _chat_session_new(const char * const recipient, gboolean supported); -static void _chat_session_set_composing(const char * const recipient); -static void _chat_session_set_active(const char * const recipient); +static ChatSession* _chat_session_new(const char * const barejid, gboolean supported); +static void _chat_session_set_composing(const char * const barejid); +static void _chat_session_set_active(const char * const barejid); static void _chat_session_free(ChatSession *session); void @@ -99,9 +99,9 @@ _chat_session_new(const char * const barejid, gboolean supported) } static void -_chat_session_set_composing(const char * const recipient) +_chat_session_set_composing(const char * const barejid) { - ChatSession *session = g_hash_table_lookup(sessions, recipient); + ChatSession *session = g_hash_table_lookup(sessions, barejid); if (session != NULL) { if (session->state != CHAT_STATE_COMPOSING) { @@ -113,9 +113,9 @@ _chat_session_set_composing(const char * const recipient) } static void -_chat_session_set_active(const char * const recipient) +_chat_session_set_active(const char * const barejid) { - ChatSession *session = g_hash_table_lookup(sessions, recipient); + ChatSession *session = g_hash_table_lookup(sessions, barejid); if (session != NULL) { session->state = CHAT_STATE_ACTIVE; -- cgit 1.4.1-2-gfad0