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'):