Add ability to block domains
This commit is contained in:
@@ -144,8 +144,8 @@ class ThreadReply(db.Model):
|
||||
|
||||
created_at = db.Column(db.DateTime, nullable=False, default=datetime.datetime.utcnow)
|
||||
|
||||
def get_url(self):
|
||||
return url_for('threads.view', id=self.thread.id) + "#reply-" + str(self.id)
|
||||
def get_url(self, absolute=False):
|
||||
return self.thread.getViewURL(absolute) + "#reply-" + str(self.id)
|
||||
|
||||
def checkPerm(self, user, perm):
|
||||
if not user.is_authenticated:
|
||||
|
||||
Reference in New Issue
Block a user