From 783b5390335f17f5cb45bb0f8ece2d1cf680821b Mon Sep 17 00:00:00 2001 From: Hendrik Langer Date: Wed, 19 Apr 2023 18:35:30 +0200 Subject: [PATCH] chat with yourself2 --- matrix_pygmalion_bot/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/matrix_pygmalion_bot/core.py b/matrix_pygmalion_bot/core.py index afd1eb9..22ca54c 100644 --- a/matrix_pygmalion_bot/core.py +++ b/matrix_pygmalion_bot/core.py @@ -100,7 +100,7 @@ class Callbacks(object): return self.bot.user_name = room.user_name(event.sender) - if self.bot.user_name == self.bot.name: + if self.bot.user_name.casefold() == self.bot.name.casefold(): self.bot.user_name = "You" if event.body.startswith('!replybot'):