Rename plugin attribute "allow_privatchat" into "allow_privatechat"
This commit is contained in:
parent
9c6a8df658
commit
80fee32223
|
@ -842,7 +842,7 @@ def get_encryption_menu(control_id, type_id, zeroconf=False):
|
||||||
if not hasattr(plugin, 'allow_groupchat'):
|
if not hasattr(plugin, 'allow_groupchat'):
|
||||||
continue
|
continue
|
||||||
if type_id == 'pm':
|
if type_id == 'pm':
|
||||||
if not hasattr(plugin, 'allow_privatchat'):
|
if not hasattr(plugin, 'allow_privatechat'):
|
||||||
continue
|
continue
|
||||||
if zeroconf:
|
if zeroconf:
|
||||||
if not hasattr(plugin, 'allow_zeroconf'):
|
if not hasattr(plugin, 'allow_zeroconf'):
|
||||||
|
|
Loading…
Reference in New Issue