Commit 0b27c968 authored by Philipp Hörist's avatar Philipp Hörist
Browse files

GroupchatSettings: Use JID instead of string

parent bbafe882
......@@ -459,7 +459,7 @@ def _on_groupchat_settings(self, _action, _param):
self._groupchat_settings_box.destroy()
self._groupchat_settings_box = GroupChatSettings(
self.account, self.room_jid)
self.account, self.contact.jid)
self._groupchat_settings_box.show_all()
self.xml.settings_scrolled_box.add(self._groupchat_settings_box)
self._show_page('muc-settings')
......
......@@ -13,6 +13,7 @@
# along with Gajim. If not, see <http://www.gnu.org/licenses/>.
from gi.repository import Gtk
from nbxmpp.protocol import JID
from gajim.common.const import THRESHOLD_OPTIONS
from gajim.common.i18n import _
......@@ -24,7 +25,7 @@
class GroupChatSettings(SettingsBox):
def __init__(self, account: str, jid: str) -> None:
def __init__(self, account: str, jid: JID) -> None:
SettingsBox.__init__(self, account, jid)
self.get_style_context().add_class('settings-border')
......
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