unneccessary '+'

This commit is contained in:
David Baker 2016-03-04 11:37:37 +00:00
parent acaacae697
commit 82cdc15faf

View file

@ -12,7 +12,7 @@ function textForMemberEvent(ev) {
var threePidContent = ev.getContent().third_party_invite; var threePidContent = ev.getContent().third_party_invite;
if (threePidContent) { if (threePidContent) {
if (threePidContent.display_name) { if (threePidContent.display_name) {
return targetName + " accepted " + " the invitation for " + return targetName + " accepted the invitation for " +
threePidContent.display_name + "."; threePidContent.display_name + ".";
} else { } else {
return targetName + " accepted an invitation."; return targetName + " accepted an invitation.";