Properly format IM urls

Signed-off-by: Anna Schumaker <Anna@NoWheyCreamery.com>
This commit is contained in:
Anna Schumaker 2016-11-16 16:06:54 -05:00
parent 3027ec5ba7
commit 1d6764564d
1 changed files with 3 additions and 0 deletions

View File

@ -15,6 +15,9 @@ class IM(threads.Thread):
def name(self):
return "Chat With %s" % self.__user.name()
def url(self, base):
return "%s/messages/@%s/" % (base, self.__user.user())
def do_fetch_info(self):
return info(self.id(), self.__uid)