From 51ab9bf5757385e52f78231e213c8f99343d6df6 Mon Sep 17 00:00:00 2001 From: Daniel Dayley Date: Mon, 15 May 2023 16:50:53 -0600 Subject: [PATCH] Fixed typo --- persona/skills/chatgpt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/persona/skills/chatgpt.py b/persona/skills/chatgpt.py index d48d00d..ea78b9b 100644 --- a/persona/skills/chatgpt.py +++ b/persona/skills/chatgpt.py @@ -82,7 +82,7 @@ class PersonaSkill(PersonaBaseSkill) : self.enabled_chats.remove(message.chat_identifier) return False if message.meta['isFromMe'] : - if self.respond_to_self and (self.respond_to_self in [message.sender] + message.recipients) : + if self.respond_to_self and (self.respond_to_self in [sender] + message.recipients) : return True else : return False