Fix reception of private messages (variable used but not defined)
This commit is contained in:
parent
51b908348e
commit
ef22b509df
1 changed files with 1 additions and 1 deletions
|
@ -625,9 +625,9 @@ class HandlerCore:
|
|||
if not body or not tab:
|
||||
return
|
||||
replaced = False
|
||||
user = tab.parent_muc.get_user_by_name(nick_from)
|
||||
if message.xml.find('{urn:xmpp:message-correct:0}replace') is not None:
|
||||
replaced_id = message['replace']['id']
|
||||
user = tab.parent_muc.get_user_by_name(nick_from)
|
||||
if replaced_id is not '' and config.get_by_tabname('group_corrections',
|
||||
room_from):
|
||||
try:
|
||||
|
|
Loading…
Reference in a new issue