aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2017-04-04 14:27:47 +0300
committerGitHub <noreply@github.com>2017-04-04 14:27:47 +0300
commit6fdadc74c6f090689daad211159930b46a66026d (patch)
tree3b75fe66f6176659cf4eb6876d47fd703daf5c8c
parentff977a14a26076f9df426437a2049d2aefd1defc (diff)
parenta68587718afca82a06d57cd44fc949ea547e04f6 (diff)
downloadlibquotient-6fdadc74c6f090689daad211159930b46a66026d.tar.gz
libquotient-6fdadc74c6f090689daad211159930b46a66026d.zip
Merge pull request #58 from elvisangelaccio/master
You've got the point. Merged this.
-rw-r--r--room.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/room.cpp b/room.cpp
index 55531824..5aea6ff0 100644
--- a/room.cpp
+++ b/room.cpp
@@ -792,12 +792,6 @@ QString Room::Private::calculateDisplayname() const
// 1. Name (from m.room.name)
if (!name.isEmpty()) {
- // The below two lines extend the spec. They take care of the case
- // when there are two rooms with the same name.
- // The format is unwittingly borrowed from the email address format.
- if (!canonicalAlias.isEmpty())
- return name % " <" % canonicalAlias % ">";
-
return name;
}