libpurple/protocols/myspace/myspace.c

branch
soc.2013.gobjectification.plugins
changeset 37101
8ba9a23354ff
parent 37038
8832d14d7d0c
parent 35499
c4c5e0a670b1
child 37103
cdc96a002b33
--- a/libpurple/protocols/myspace/myspace.c	Mon Feb 10 00:16:53 2014 +0530
+++ b/libpurple/protocols/myspace/myspace.c	Mon Feb 10 01:09:47 2014 +0530
@@ -1041,9 +1041,9 @@
 		 */
 		if (display_name != NULL) {
 			purple_blist_node_set_string(PURPLE_BLIST_NODE(buddy), "DisplayName", display_name);
-			serv_got_alias(session->gc, username, display_name);
+			purple_serv_got_alias(session->gc, username, display_name);
 		} else {
-			serv_got_alias(session->gc, username,
+			purple_serv_got_alias(session->gc, username,
 					purple_blist_node_get_string(PURPLE_BLIST_NODE(buddy), "DisplayName"));
 		}
 	}
@@ -1522,7 +1522,7 @@
 		time_received = time(NULL);
 	}
 
-	serv_got_im(session->gc, username, msg_purple_markup, PURPLE_MESSAGE_RECV, time_received);
+	purple_serv_got_im(session->gc, username, msg_purple_markup, PURPLE_MESSAGE_RECV, time_received);
 
 	g_free(msg_purple_markup);
 
@@ -1556,10 +1556,10 @@
 			msg_text, username);
 
 	if (g_str_equal(msg_text, "%typing%")) {
-		serv_got_typing(session->gc, username, 0, PURPLE_IM_TYPING);
+		purple_serv_got_typing(session->gc, username, 0, PURPLE_IM_TYPING);
 		rc = TRUE;
 	} else if (g_str_equal(msg_text, "%stoptyping%")) {
-		serv_got_typing_stopped(session->gc, username);
+		purple_purple_serv_got_typing_stopped(session->gc, username);
 		rc = TRUE;
 	} else if (strstr(msg_text, "!!!ZAP_SEND!!!=RTE_BTN_ZAPS_")) {
 		rc = msim_incoming_zap(session, msg);
@@ -1614,8 +1614,8 @@
 	/* Media messages are sent when the user opens a window to someone.
 	 * Tell libpurple they started typing and stopped typing, to inform the Psychic
 	 * Mode plugin so it too can open a window to the user. */
-	serv_got_typing(session->gc, username, 0, PURPLE_IM_TYPING);
-	serv_got_typing_stopped(session->gc, username);
+	purple_serv_got_typing(session->gc, username, 0, PURPLE_IM_TYPING);
+	purple_purple_serv_got_typing_stopped(session->gc, username);
 
 	g_free(username);
 

mercurial