aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/bee.h
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2010-08-21 23:25:37 +0100
committerWilmer van der Gaast <wilmer@gaast.net>2010-08-21 23:25:37 +0100
commit0ebf919dd8b47e50ce060f46f2dc5f10f3867207 (patch)
tree7a7ab813da9884d037547116c1d9b321f982f5cd /protocols/bee.h
parenta758ec197f3a01dda26d394c1e5125787e4831b6 (diff)
Pass "user is mobile" info coming from OSCAR up to BitlBee and show mobile
people as away=Mobile. Bug #462 (and others for other protocols).
Diffstat (limited to 'protocols/bee.h')
-rw-r--r--protocols/bee.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/protocols/bee.h b/protocols/bee.h
index 5792e988..2fd3562e 100644
--- a/protocols/bee.h
+++ b/protocols/bee.h
@@ -55,10 +55,12 @@ typedef struct bee
bee_t *bee_new();
void bee_free( bee_t *b );
+/* TODO(wilmer): Kill at least the OPT_ flags that have an equivalent here. */
typedef enum
{
BEE_USER_ONLINE = 1, /* Compatibility with old OPT_LOGGED_IN flag */
BEE_USER_AWAY = 4, /* Compatibility with old OPT_AWAY flag */
+ BEE_USER_MOBILE = 8, /* Compatibility with old OPT_MOBILE flag */
BEE_USER_LOCAL = 256, /* Locally-added contacts (not in real contact list) */
} bee_user_flags_t;