From f8e79ef9fa253346c1c20ef74054cefed20cfc91 Mon Sep 17 00:00:00 2001 From: JayChen Date: Wed, 29 May 2019 09:55:19 +0800 Subject: [PATCH] modify update user info time --- module/line-message/message-type.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/line-message/message-type.go b/module/line-message/message-type.go index c19e3df..0a60fb9 100644 --- a/module/line-message/message-type.go +++ b/module/line-message/message-type.go @@ -86,7 +86,7 @@ func getSourceUser(uid, gid string) (u *model.LineUser, err error) { return nil, err } } else { - if userData.Mtime.Unix() < (time.Now().Unix() - 432000) { + if userData.Mtime.Unix() < (time.Now().Unix() - 86400) { tmpu, err := line.GetUserInfo(uid, gid) if err != nil || tmpu == nil { return nil, err