Mercurial > pidgin
comparison libpurple/protocols/bonjour/bonjour.h @ 30583:9c8b28dc6656
The hostname used for a bonjour account should always be the current machine
name. This fixes our behavior so the previous statement is always the case.
Unfortunately, this means that if the hostname was previously not the current
machine name, the bonjour jid ends up looking like "username\40otherhost@hostname".
Fixes #12674
author | Daniel Atallah <daniel.atallah@gmail.com> |
---|---|
date | Mon, 04 Oct 2010 00:48:25 +0000 |
parents | f38799160cfa |
children |
comparison
equal
deleted
inserted
replaced
30582:014a58e994da | 30583:9c8b28dc6656 |
---|---|
43 typedef struct _BonjourData | 43 typedef struct _BonjourData |
44 { | 44 { |
45 BonjourDnsSd *dns_sd_data; | 45 BonjourDnsSd *dns_sd_data; |
46 BonjourJabber *jabber_data; | 46 BonjourJabber *jabber_data; |
47 GSList *xfer_lists; | 47 GSList *xfer_lists; |
48 gchar *jid; | |
48 } BonjourData; | 49 } BonjourData; |
49 | 50 |
51 /** | |
52 * This will always be username@machinename | |
53 */ | |
54 const char *bonjour_get_jid(PurpleAccount *account); | |
55 | |
50 #endif /* _BONJOUR_H_ */ | 56 #endif /* _BONJOUR_H_ */ |