ignore @twtxtlist and @directory in the timeline

This commit is contained in:
Christine Dodrill 2016-02-12 11:59:27 -08:00
parent 623d7c920a
commit a026980d65
1 changed files with 1 additions and 1 deletions

View File

@ -185,7 +185,7 @@ routes:
get "/timeline/@page":
try:
var
tweets = db.getAllRows(sql"select * from tweets order by time desc limit 20 offset ?", (@"page").parseInt() * 20)
tweets = db.getAllRows(sql"select * from tweets where username <> 'twtxtlist' and username <> 'directory' order by time desc limit 20 offset ?", (@"page").parseInt() * 20)
ctx = newContext()
tweetList = newSeq[Context]()