online-desktop r7240 - trunk/pidgin



Author: otaylor
Date: Tue Jan 29 23:22:36 2008
New Revision: 7240
URL: http://svn.gnome.org/viewvc/online-desktop?rev=7240&view=rev

Log:
Send the alias

Modified:
   trunk/pidgin/dbus-plugin.c

Modified: trunk/pidgin/dbus-plugin.c
==============================================================================
--- trunk/pidgin/dbus-plugin.c	(original)
+++ trunk/pidgin/dbus-plugin.c	Tue Jan 29 23:22:36 2008
@@ -151,6 +151,8 @@
     dbus_message_iter_open_container(append_iter, DBUS_TYPE_ARRAY, "{sv}", &dict_iter);
     
     append_basic_entry(&dict_iter, "name", DBUS_TYPE_STRING, &buddy->name);
+    if (buddy->alias != NULL)
+        append_basic_entry(&dict_iter, "alias", DBUS_TYPE_STRING, &buddy->alias);
 
     is_online = PURPLE_BUDDY_IS_ONLINE(buddy);
     append_basic_entry(&dict_iter, "online", DBUS_TYPE_BOOLEAN, &is_online);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]