Mercurial > pidgin
diff libpurple/protocols/simple/simple.h @ 21149:b2d9f859663e
Patch from Will Hawkins to make the SIMPLE prpl more standards compliant by keeping all subscribe/notify messaging within a dialog. This didn't apply cleanly, so I had to manually apply it - hopefully I didn't break anything during the process. Fixes #3778.
author | Daniel Atallah <daniel.atallah@gmail.com> |
---|---|
date | Tue, 06 Nov 2007 02:52:41 +0000 |
parents | 61a87e02da29 |
children | 5295c7f113da |
line wrap: on
line diff
--- a/libpurple/protocols/simple/simple.h Mon Nov 05 22:03:58 2007 +0000 +++ b/libpurple/protocols/simple/simple.h Tue Nov 06 02:52:41 2007 +0000 @@ -43,6 +43,9 @@ #define SIMPLE_REGISTER_RETRY 2 #define SIMPLE_REGISTER_COMPLETE 3 +#define PUBLISH_EXPIRATION 600 +#define SUBSCRIBE_EXPIRATION 1200 + struct sip_dialog { gchar *ourtag; gchar *theirtag; @@ -59,6 +62,7 @@ struct simple_buddy { gchar *name; time_t resubscribe; + struct sip_dialog *dialog; }; struct sip_auth {