Mercurial > pidgin
diff libpurple/protocols/myspace/myspace.h @ 17670:7e4e3f6582d2
Add MSIM_FAKE_SELF_ONLINE preprocessor definition (which I define) to fake
one's own user account always being online. This is needed because msim does
not allow adding yourself to your buddy list. (Other prpls do this too, btw.)
| author | Jeffrey Connelly <jaconnel@calpoly.edu> |
|---|---|
| date | Tue, 26 Jun 2007 05:53:52 +0000 |
| parents | 5c2720824798 |
| children | e24d44e3b6d2 |
line wrap: on
line diff
--- a/libpurple/protocols/myspace/myspace.h Tue Jun 26 05:33:00 2007 +0000 +++ b/libpurple/protocols/myspace/myspace.h Tue Jun 26 05:53:52 2007 +0000 @@ -69,6 +69,10 @@ /* RC4 is in Libpurple 2.0.1, so define this. */ #define MSIM_USE_PURPLE_RC4 +/* Define to fake our own user account always being online. Needed + * because msim doesn't allow adding oneself to ones list. */ +#define MSIM_FAKE_SELF_ONLINE + /* TODO: (one release after) when RC4 makes it into libpurple, use the PURPLE_VERSION_CHECK * macro to conditionally compile. And then later, get rid of our own * RC4 code and only support libpurple with RC4. */ @@ -136,6 +140,7 @@ PurpleConnection *gc; guint sesskey; /**< Session key from server */ guint userid; /**< This user's numeric user ID */ + gchar *username; /**< This user's unique username */ gint fd; /**< File descriptor to/from server */ /* TODO: Remove. */
