Fix some join messages showing as empty

This commit is contained in:
Nicolas Werner 2020-05-23 00:24:58 +02:00
parent f7cd0c4137
commit 937b35ca8a

View file

@ -1807,6 +1807,8 @@ TimelineModel::formatMemberEvent(QString id)
rendered = tr("%1 changed their display name.").arg(name);
else if (avatarChanged)
rendered = tr("%1 changed their avatar.").arg(name);
else
rendered = tr("%1 changed some profile info.").arg(name);
// the case of nothing changed but join follows join shouldn't happen, so
// just show it as join
} else {