summaryrefslogtreecommitdiff
path: root/libpurple/protocols/sametime/sametime.c
diff options
context:
space:
mode:
authorAnkit Vani <a@nevitus.org>2013-06-23 17:33:58 +0530
committerAnkit Vani <a@nevitus.org>2013-06-23 17:33:58 +0530
commitf565390d26dab138824eaecc7e85c2d5bdb997a1 (patch)
treef93bd349c7252fc3c7d926853376fa82feb40e03 /libpurple/protocols/sametime/sametime.c
parent68142fc217c82ae6df55b8d810529506c62425d9 (diff)
downloadpidgin-f565390d26dab138824eaecc7e85c2d5bdb997a1.tar.gz
Replaced purple_conversation_new() with purple_[im,chat]_conversation_new()
Diffstat (limited to 'libpurple/protocols/sametime/sametime.c')
-rw-r--r--libpurple/protocols/sametime/sametime.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libpurple/protocols/sametime/sametime.c b/libpurple/protocols/sametime/sametime.c
index 43cbcbf6f5..cbd292ce05 100644
--- a/libpurple/protocols/sametime/sametime.c
+++ b/libpurple/protocols/sametime/sametime.c
@@ -1843,7 +1843,7 @@ static void mw_session_announce(struct mwSession *s,
pd = mwSession_getClientData(s);
acct = purple_connection_get_account(pd->gc);
conv = purple_conversations_find_im_with_account(who, acct);
- if(! conv) conv = purple_conversation_new(PURPLE_CONV_TYPE_IM, acct, who);
+ if(! conv) conv = purple_im_conversation_new(acct, who);
buddy = purple_find_buddy(acct, who);
if(buddy) who = (char *) purple_buddy_get_contact_alias(buddy);
@@ -4280,7 +4280,7 @@ static void notify_im(PurpleConnection *gc, GList *row, void *user_data) {
acct = purple_connection_get_account(gc);
id = g_list_nth_data(row, 1);
conv = purple_conversations_find_im_with_account(id, acct);
- if(! conv) conv = purple_conversation_new(PURPLE_CONV_TYPE_IM, acct, id);
+ if(! conv) conv = purple_im_conversation_new(acct, id);
purple_conversation_present(conv);
}