Browse Source

Allow , in username to support multiple users

Fixes #1329
Zed 9 tháng trước cách đây
mục cha
commit
e741385828
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/routes/timeline.nim

+ 1 - 1
src/routes/timeline.nim

@@ -114,7 +114,7 @@ proc createTimelineRouter*(cfg: Config) =
     get "/@name/?@tab?/?":
       cond '.' notin @"name"
       cond @"name" notin ["pic", "gif", "video", "search", "settings", "login", "intent", "i"]
-      cond @"name".allCharsInSet({'a'..'z', 'A'..'Z', '0'..'9', '_'})
+      cond @"name".allCharsInSet({'a'..'z', 'A'..'Z', '0'..'9', '_', ","})
       cond @"tab" in ["with_replies", "media", "search", ""]
       let
         prefs = cookiePrefs()