Modify

#1108 closed defect (fixed)

Channels in user.xml with both type attribute and element fails to load

Reported by: Olof 'zibri' Johansson <olof@…> Owned by:
Priority: normal Milestone:
Component: BitlBee Version: 3.2
Keywords: Cc:
IRC client+version: Client-independent Operating System: Linux
OS version/distro:

Description

With a channel block in the user's XML configuration containing both a type attribute and a type setting element, bitlbee seems to have issues loading the channel settings. Instead of loading a "permanent" channel with chat_type = room, a temporary channel with chat_type = groupchat is loaded.

<channel name="#foobar" type="chat">
	<setting name="account">jabber</setting>
	<setting name="auto_join">false</setting>
	<setting name="chat_type">room</setting>
	<setting name="room">foobar@conference.talk.example.com</setting>
	<setting name="type">chat</setting>
</channel>

This behavior was seen after upgrading to bazaar commit 1005 (from 997, but I can't be sure that that is the version I actually used before I reconnected). Removing <setting name="type">chat</setting> makes bitlbee behave as expected again.

Attachments (0)

Change History (1)

Modify Ticket

Action
as closed The ticket will remain with no owner.
The resolution will be deleted.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.