mirror of
https://github.com/osmarks/mycorrhiza.git
synced 2025-11-06 02:23:02 +00:00
Housekeeping with linter
'I do as the golint guides'
This commit is contained in:
@@ -143,7 +143,7 @@ func handlerTelegramLogin(w http.ResponseWriter, rq *http.Request) {
|
||||
false,
|
||||
)
|
||||
)
|
||||
if user.HasUsername(username) && user.UserByName(username).Source == "telegram" {
|
||||
if user.HasUsername(username) && user.ByName(username).Source == "telegram" {
|
||||
// Problems is something we put blankets on.
|
||||
err = nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user