aboutsummaryrefslogtreecommitdiff
path: root/user.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'user.cpp')
-rw-r--r--user.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/user.cpp b/user.cpp
index 8c8a7fdb..dea75360 100644
--- a/user.cpp
+++ b/user.cpp
@@ -115,7 +115,7 @@ void User::processEvent(Event* event)
auto newName = e->displayName();
QRegularExpression reSuffix(" \\((IRC|Gitter)\\)$");
- auto match = reSuffix.match(d->name);
+ auto match = reSuffix.match(newName);
if (match.hasMatch())
{
d->bridged = match.captured(1);