Fix broadcast
Any normal address should be able to broadcast. Reported over BM in one of the chans.
This commit is contained in:
parent
f933cea697
commit
a50c5ed16e
|
@ -2307,8 +2307,8 @@ class MyForm(settingsmixin.SMainWindow):
|
||||||
for addressInKeysFile in getSortedAccounts():
|
for addressInKeysFile in getSortedAccounts():
|
||||||
isEnabled = shared.config.getboolean(
|
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.
|
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')
|
isChan = shared.safeConfigGetBoolean(addressInKeysFile, 'chan')
|
||||||
if isEnabled and isMaillinglist:
|
if isEnabled and not isChan:
|
||||||
self.ui.comboBoxSendFromBroadcast.addItem(avatarize(addressInKeysFile), unicode(shared.config.get(
|
self.ui.comboBoxSendFromBroadcast.addItem(avatarize(addressInKeysFile), unicode(shared.config.get(
|
||||||
addressInKeysFile, 'label'), 'utf-8'), addressInKeysFile)
|
addressInKeysFile, 'label'), 'utf-8'), addressInKeysFile)
|
||||||
for i in range(self.ui.comboBoxSendFromBroadcast.count()):
|
for i in range(self.ui.comboBoxSendFromBroadcast.count()):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user