diff --git a/src/history_window.py b/src/history_window.py index ebc16ee29..7b3bc5153 100644 --- a/src/history_window.py +++ b/src/history_window.py @@ -140,7 +140,7 @@ class HistoryWindow: tag_msg = 'status' elif type == 'recv': try: - name = self.plugin.roster.contacts[self.jid][0].name + name = self.plugin.roster.contacts[self.account][self.jid][0].name except: name = None if not name: