diff --git a/gotr/otrmodule.py b/gotr/otrmodule.py index a61b522c4bfc0a59ee6255a4c165d5875dfb06f4..1eb38b4195fa9350115b4e0572593d1f57d38393 100644 --- a/gotr/otrmodule.py +++ b/gotr/otrmodule.py @@ -530,7 +530,7 @@ class OtrPlugin(GajimPlugin): # otherwise try without the resource ctrl = gajim.interface.msg_win_mgr.get_control( - gajim.get_jid_without_resource(fjid), account) + gajim.get_jid_without_resource(str(fjid)), account) # but only use it when it's not a GC window if ctrl and ctrl.TYPE_ID == TYPE_CHAT: return ctrl