diff options
| author | Wilmer van der Gaast <wilmer@gaast.net> | 2007-04-25 21:41:34 -0700 | 
|---|---|---|
| committer | Wilmer van der Gaast <wilmer@gaast.net> | 2007-04-25 21:41:34 -0700 | 
| commit | 6286f80d6dc1dc4cb8106b4e209a8578d7cebe56 (patch) | |
| tree | 0db5a8b93910ffdf18d4d3588a3022ad727f7e40 /protocols/jabber/jabber.h | |
| parent | 2d317bbe8def887fb796b2daaa958c59d8f4c070 (diff) | |
Prepared the Jabber module for anonymous rooms, but the BitlBee core
doesn't deal with it very well, and I don't really know yet how I'll
solve this... :-(
Diffstat (limited to 'protocols/jabber/jabber.h')
| -rw-r--r-- | protocols/jabber/jabber.h | 6 | 
1 files changed, 4 insertions, 2 deletions
| diff --git a/protocols/jabber/jabber.h b/protocols/jabber/jabber.h index 57e24b5f..ba61920c 100644 --- a/protocols/jabber/jabber.h +++ b/protocols/jabber/jabber.h @@ -51,6 +51,8 @@ typedef enum  	                                   XEP85 (typing notification shite). */  	JBFLAG_IS_CHATROOM = 4,		/* It's convenient to use this JID thingy for  	                                   groupchat state info too. */ +	JBFLAG_IS_ANONYMOUS = 8,	/* For anonymous chatrooms, when we don't have +	                                   have a real JID. */  } jabber_buddy_flags_t;  #define JABBER_PORT_DEFAULT "5222" @@ -102,8 +104,8 @@ struct jabber_buddy  	char *full_jid;  	char *resource; -	/* Groupchat-only */ -	char *orig_jid; +	char *ext_jid; /* The JID to use in BitlBee. The real JID if possible, */ +	               /* otherwise something similar to the conference JID. */  	int priority;  	struct jabber_away_state *away_state; | 
