Commit 8146f01d authored by Philipp Hörist's avatar Philipp Hörist

PrivateChatControl: Access config value with correct key

parent 61679239
......@@ -142,7 +142,7 @@ class PrivateChatControl(ChatControl):
status=status)
self.add_status_message(message)
elif app.config.get_per('rooms', self.room_name,
elif app.config.get_per('rooms', self.gc_contact.room_jid,
'print_status', status_default):
message = _('{nick} is now {show}{status}').format(nick=nick,
show=show,
......
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