Move mentionable to room

This commit is contained in:
Joscha 2016-05-23 17:53:24 +02:00
parent 4d59e67291
commit b9a723f701
3 changed files with 7 additions and 21 deletions

View file

@ -52,15 +52,6 @@ class Session():
return self.id.split(":")[0]
def mentionable(self):
"""
mentionable() -> str
Converts the name to a mentionable format.
"""
return "".join(c for c in self.name if not c in ",.!?;&<'\"" and not c.isspace()).lower()
def is_staff(self):
"""
is_staff() -> bool