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

[acronyms] Fix is_groupchat call

parent 3a7ef9cd
......@@ -110,7 +110,7 @@ class AcronymsExpanderPlugin(GajimPlugin):
# Get last word and cut invoker
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)
if last_word in nick_list:'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