diff options
author | xray7224 <jessica@megworld.co.uk> | 2013-09-02 16:23:40 +0100 |
---|---|---|
committer | Jessica Tallon <jessica@megworld.co.uk> | 2014-07-22 23:13:14 +0100 |
commit | 37f070b06786c20f320231bc467b35ccab6270dc (patch) | |
tree | f6dfb13160c7d09871a1e4a73349fda69b9a0df2 | |
parent | d461fbe5cb20ed56c3c1e3696464c3d323e5b4b0 (diff) | |
download | mediagoblin-37f070b06786c20f320231bc467b35ccab6270dc.tar.lz mediagoblin-37f070b06786c20f320231bc467b35ccab6270dc.tar.xz mediagoblin-37f070b06786c20f320231bc467b35ccab6270dc.zip |
Fixes problem where full URL was being used inplace of host
-rw-r--r-- | mediagoblin/db/models.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mediagoblin/db/models.py b/mediagoblin/db/models.py index ca4efdd1..91efc0b6 100644 --- a/mediagoblin/db/models.py +++ b/mediagoblin/db/models.py @@ -141,7 +141,7 @@ class User(Base, UserMixin): user = { "id": "acct:{0}@{1}".format(self.username, request.host), "preferredUsername": self.username, - "displayName": "{0}@{1}".format(self.username, request.url), + "displayName": "{0}@{1}".format(self.username, request.host), "objectType": "person", "url": self.url, "summary": self.bio, |