From a026980d659370c32cdf0d60cdea34a32b5e58eb Mon Sep 17 00:00:00 2001 From: Christine Dodrill Date: Fri, 12 Feb 2016 11:59:27 -0800 Subject: [PATCH] ignore @twtxtlist and @directory in the timeline --- src/twtxtlist.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/twtxtlist.nim b/src/twtxtlist.nim index bc02fb8..35bcb58 100644 --- a/src/twtxtlist.nim +++ b/src/twtxtlist.nim @@ -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]()