Commit b390a463 authored by Daniel Brötzmann's avatar Daniel Brötzmann Committed by Philipp Hörist

[acronyms] Fix is_groupchat call

parent 3a7ef9cd
...@@ -110,7 +110,7 @@ class AcronymsExpanderPlugin(GajimPlugin): ...@@ -110,7 +110,7 @@ class AcronymsExpanderPlugin(GajimPlugin):
# Get last word and cut invoker # Get last word and cut invoker
last_word = word_start_iter.get_slice(insert_iter).strip() last_word = word_start_iter.get_slice(insert_iter).strip()
if contact.is_groupchat(): if contact.is_groupchat:
nick_list = app.contacts.get_nick_list(account, contact.jid) nick_list = app.contacts.get_nick_list(account, contact.jid)
if last_word in nick_list: if last_word in nick_list:
log.info('Groupchat participant has same nick as acronym') log.info('Groupchat participant has same nick as acronym')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment