Mercurial > pidgin.yaz
diff libpurple/protocols/myspace/session.h @ 24746:8e75a1525156
Grab the "Who can contact me? Only people on my buddy list?" and the
"Who can see when I'm online? Only people on my buddy list?" settings
from the server and activate your privacy setting so that the values
that you've set using the official myspace IM client will also apply
when you're logged in with Pidgin.
I really don't think this should be necessary at a protocol level.
It's just stupid. Why wouldn't the server do this for us?
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Tue, 16 Dec 2008 23:39:03 +0000 |
parents | 295464ae2d2a |
children | 1d77f138847b |
line wrap: on
line diff
--- a/libpurple/protocols/myspace/session.h Tue Dec 16 21:52:50 2008 +0000 +++ b/libpurple/protocols/myspace/session.h Tue Dec 16 23:39:03 2008 +0000 @@ -34,6 +34,9 @@ guint sesskey; /**< Session key from server */ guint userid; /**< This user's numeric user ID */ gchar *username; /**< This user's unique username */ + gboolean show_only_to_list; + int privacy_mode; + int offline_message_mode; gint fd; /**< File descriptor to/from server */ /* TODO: Remove. */