Fix linting

This commit is contained in:
Andrea Maria Piana 2020-11-25 15:18:30 +01:00
parent 1b527906ee
commit 32907b59b2
1 changed files with 1 additions and 1 deletions

View File

@ -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.