summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--poezio/tabs/basetabs.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/poezio/tabs/basetabs.py b/poezio/tabs/basetabs.py
index 6e4d9553..0cae3c6a 100644
--- a/poezio/tabs/basetabs.py
+++ b/poezio/tabs/basetabs.py
@@ -13,6 +13,7 @@ This module also defines ChatTabs, the parent class for all tabs
revolving around chats.
"""
+import copy
import logging
import string
import asyncio
@@ -538,7 +539,7 @@ class ChatTab(Tab):
@property
def jid(self) -> JID:
- return self._jid
+ return copy.copy(self._jid)
@jid.setter
def jid(self, value: JID) -> None: