Rename plugin attribute "allow_privatchat" into "allow_privatechat"

This commit is contained in:
Alexander Krotov 2018-07-01 05:32:41 +03:00
parent 9c6a8df658
commit 80fee32223
1 changed files with 1 additions and 1 deletions

View File

@ -842,7 +842,7 @@ def get_encryption_menu(control_id, type_id, zeroconf=False):
if not hasattr(plugin, 'allow_groupchat'):
continue
if type_id == 'pm':
if not hasattr(plugin, 'allow_privatchat'):
if not hasattr(plugin, 'allow_privatechat'):
continue
if zeroconf:
if not hasattr(plugin, 'allow_zeroconf'):