Mercurial > pidgin
diff libpurple/protocols/myspace/myspace.h @ 27027:fdc0035bea5a
Change the way we parse messages on MySpace a little bit. This
fixes #8846: people using web myspaceIM can't respond to pidgin myspaceIM
For some reason IMs send using the myspace web site are sent so that
they won't become offline messages if the other person is offline.
I'm not really sure why that decision was made.
So now we treat messages with bm 1 the same as messages with bm 121. This means
we have to combine the function that parses out typing notification with
the function that parses IMs. And we check for typing notifications by
looking for %typing%. Which means if someone sends the IM "%typing%" with
no markup then we'll interpret it as a typing notification. And there's
nothing we can do to differentiate between the two. I asked.
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Thu, 04 Jun 2009 05:19:49 +0000 |
parents | b87843de7c6a |
children | 5fbcfcbd6551 |
line wrap: on
line diff
--- a/libpurple/protocols/myspace/myspace.h Thu Jun 04 01:51:41 2009 +0000 +++ b/libpurple/protocols/myspace/myspace.h Thu Jun 04 05:19:49 2009 +0000 @@ -127,12 +127,12 @@ #define MSIM_FINAL_STRING "\\final\\" /**< Message end marker */ /* Messages */ -#define MSIM_BM_INSTANT 1 -#define MSIM_BM_STATUS 100 -#define MSIM_BM_ACTION 121 -#define MSIM_BM_MEDIA 122 -#define MSIM_BM_PROFILE 124 -#define MSIM_BM_UNOFFICIAL_CLIENT 200 +#define MSIM_BM_DELAYABLE_ACTION_OR_IM 1 +#define MSIM_BM_STATUS 100 +#define MSIM_BM_INSTANT_ACTION_OR_IM 121 +#define MSIM_BM_MEDIA 122 +#define MSIM_BM_PROFILE 124 +#define MSIM_BM_UNOFFICIAL_CLIENT 200 /* Authentication algorithm for login2 */ #define MSIM_AUTH_ALGORITHM 196610