Mercurial > pidgin
comparison libpurple/protocols/jabber/libxmpp.c @ 18037:e3e42a99070e
jabber can contain @ symbols and / in the resource, so we have to look for
the split characters from the beginning of the username
I'm not particularly happy with the name 'reverse' for this, but I'm
not feeling creative enough at the moment to come up with something better.
If someone comes up with something better before 2.1.0, feel free to change it.
author | Nathan Walp <nwalp@pidgin.im> |
---|---|
date | Mon, 04 Jun 2007 04:37:07 +0000 |
parents | 62a71bb085ef |
children | 40d51793f2d7 |
comparison
equal
deleted
inserted
replaced
18036:ee9f7ee0be66 | 18037:e3e42a99070e |
---|---|
193 PurpleAccountUserSplit *split; | 193 PurpleAccountUserSplit *split; |
194 PurpleAccountOption *option; | 194 PurpleAccountOption *option; |
195 | 195 |
196 /* Translators: 'domain' is used here in the context of Internet domains, e.g. pidgin.im */ | 196 /* Translators: 'domain' is used here in the context of Internet domains, e.g. pidgin.im */ |
197 split = purple_account_user_split_new(_("Domain"), NULL, '@'); | 197 split = purple_account_user_split_new(_("Domain"), NULL, '@'); |
198 purple_account_user_split_set_reverse(split, FALSE); | |
198 prpl_info.user_splits = g_list_append(prpl_info.user_splits, split); | 199 prpl_info.user_splits = g_list_append(prpl_info.user_splits, split); |
199 | 200 |
200 split = purple_account_user_split_new(_("Resource"), "Home", '/'); | 201 split = purple_account_user_split_new(_("Resource"), "Home", '/'); |
202 purple_account_user_split_set_reverse(split, FALSE); | |
201 prpl_info.user_splits = g_list_append(prpl_info.user_splits, split); | 203 prpl_info.user_splits = g_list_append(prpl_info.user_splits, split); |
202 | 204 |
203 option = purple_account_option_bool_new(_("Force old (port 5223) SSL"), "old_ssl", FALSE); | 205 option = purple_account_option_bool_new(_("Force old (port 5223) SSL"), "old_ssl", FALSE); |
204 prpl_info.protocol_options = g_list_append(prpl_info.protocol_options, | 206 prpl_info.protocol_options = g_list_append(prpl_info.protocol_options, |
205 option); | 207 option); |