From 2421e2d6d286309759f2112e914ca12cf30c719d Mon Sep 17 00:00:00 2001 From: Vladimir Hodakov Date: Wed, 29 Nov 2017 14:38:58 +0400 Subject: [PATCH] /users pages navigation --- lib/users/users.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/users/users.go b/lib/users/users.go index ac5511f..4da5393 100644 --- a/lib/users/users.go +++ b/lib/users/users.go @@ -112,7 +112,7 @@ func (u *Users) usersList(update *tgbotapi.Update, page int, usersArray []dbmapp } } - if len(usersArray) > page*50 { + if len(usersArray) > page*25 { message += "\n" message += "Переход на следующую страницу: /users" + strconv.Itoa(page+1) }