| 17 | | |
| 18 | | On Mon, Jan 30, 2012 at 3:36 PM, bugs.bitlbee.org <bugs@lists.bitlbee.org>wrote: |
| 19 | | |
| 20 | | > #898: [libpurple - meanwhile] Setting `server' does not exist.[[BR]] |
| 21 | | > -------------------------------------+-------------------------------------[[BR]] |
| 22 | | > Reporter: isuftin@⦠| Owner: wilmer[[BR]] |
| 23 | | > Type: defect | Status: new[[BR]] |
| 24 | | > Priority: normal | Milestone:[[BR]] |
| 25 | | > Component: Purple | Version: 3.0.4[[BR]] |
| 26 | | > Resolution: | Keywords: meanwhile,[[BR]] |
| 27 | | > IRC client+version: Client- | server[[BR]] |
| 28 | | > independent | Operating System: Linux[[BR]] |
| 29 | | > OS version/distro: Fedora 15 |[[BR]] |
| 30 | | > -------------------------------------+-------------------------------------[[BR]] |
| 31 | | >[[BR]] |
| 32 | | > Comment (by wilmer):[[BR]] |
| 33 | | >[[BR]] |
| 34 | | > Ahh. I think I got it.[[BR]] |
| 35 | | >[[BR]] |
| 36 | | > {{{[[BR]] |
| 37 | | > host = strrchr(user, ':');[[BR]] |
| 38 | | > if(host) {[[BR]] |
| 39 | | > /* annoying user split from 1.2.0, need to undo it */[[BR]] |
| 40 | | > *host++ = '\0';[[BR]] |
| 41 | | > purple_account_set_string(account, MW_KEY_HOST, host);[[BR]] |
| 42 | | > purple_account_set_username(account, user);[[BR]] |
| 43 | | >[[BR]] |
| 44 | | > } else {[[BR]] |
| 45 | | > host = (char *) purple_account_get_string(account, MW_KEY_HOST,[[BR]] |
| 46 | | > MW_PLUGIN_DEFAULT_HOST);[[BR]] |
| 47 | | > }[[BR]] |
| 48 | | > }}}[[BR]] |
| 49 | | >[[BR]] |
| 50 | | > Nowhere in the libpurple code does the "server" (MW_KEY_HOST) setting get[[BR]] |
| 51 | | > added, it's just read a few times for backward compatibility apparently.[[BR]] |
| 52 | | > Try setting your username to username:host.[[BR]] |
| 53 | | >[[BR]] |
| 54 | | > --[[BR]] |
| 55 | | > Ticket URL: <http://bugs.bitlbee.org/bitlbee/ticket/898#comment:6>[[BR]] |
| 56 | | > BitlBee <http://www.bitlbee.org/>[[BR]] |
| 57 | | > BitlBee[[BR]] |
| 58 | | > |
| 59 | | |