Update valid short usernames.

GitOrigin-RevId: b2f1afef1641cc08d41cf621ade203f0fecbc9f9
This commit is contained in:
levlam 2018-04-04 18:41:35 +03:00
parent 2b12f092bf
commit 3d02f9d13c

View File

@ -976,8 +976,8 @@ Slice fix_url(Slice str) {
}
const std::unordered_set<Slice, SliceHash> &get_valid_short_usernames() {
static const std::unordered_set<Slice, SliceHash> valid_usernames{
"ya", "gif", "wiki", "vid", "bing", "pic", "bold", "imdb", "coub", "like", "vote", "giff", "cap"};
static const std::unordered_set<Slice, SliceHash> valid_usernames{"ya", "gif", "wiki", "vid", "bing", "pic",
"bold", "imdb", "coub", "like", "vote"};
return valid_usernames;
}