Fix broadcast

Any normal address should be able to broadcast. Reported over BM in one
of the chans.
This commit is contained in:
mailchuck 2015-11-12 01:42:20 +01:00 committed by Peter Surda
parent 10474b3561
commit 0e15b246af
1 changed files with 2 additions and 2 deletions

View File

@ -2307,8 +2307,8 @@ class MyForm(settingsmixin.SMainWindow):
for addressInKeysFile in getSortedAccounts():
isEnabled = shared.config.getboolean(
addressInKeysFile, 'enabled') # I realize that this is poor programming practice but I don't care. It's easier for others to read.
isMaillinglist = shared.safeConfigGetBoolean(addressInKeysFile, 'mailinglist')
if isEnabled and isMaillinglist:
isChan = shared.safeConfigGetBoolean(addressInKeysFile, 'chan')
if isEnabled and not isChan:
self.ui.comboBoxSendFromBroadcast.addItem(avatarize(addressInKeysFile), unicode(shared.config.get(
addressInKeysFile, 'label'), 'utf-8'), addressInKeysFile)
for i in range(self.ui.comboBoxSendFromBroadcast.count()):