From 32907b59b2141b1968be34610e73cd4a8d4f004e Mon Sep 17 00:00:00 2001 From: Andrea Maria Piana Date: Wed, 25 Nov 2020 15:18:30 +0100 Subject: [PATCH] Fix linting --- protocol/messenger.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/protocol/messenger.go b/protocol/messenger.go index bd30ee49e..a5ebbaa4c 100644 --- a/protocol/messenger.go +++ b/protocol/messenger.go @@ -563,7 +563,7 @@ func (m *Messenger) shouldPublishChatIdentity(chatID string) (bool, error) { return false, err } - return *lp == 0 || time.Now().Unix() - *lp > 24 * 60 * 60, nil + return *lp == 0 || time.Now().Unix()-*lp > 24*60*60, nil } // createChatIdentity creates a context based protobuf.ChatIdentity.