Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion gramjs/Utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ const JPEG_FOOTER = Buffer.from("ffd9", "hex");
const TG_JOIN_RE = new RegExp("tg:\\/\\/(join)\\?invite=", "i");

const VALID_USERNAME_RE = new RegExp(
"^([a-z]((?!__)[\\w\\d]){3,30}[a-z\\d]|gif|vid|" +
"^([a-z]((?!__)[\\w\\d]){2,30}[a-z\\d]|gif|vid|" +
"pic|bing|wiki|imdb|bold|vote|like|coub)$",
"i"
);
Expand Down