Skip to content
Snippets Groups Projects
Commit 0790daba authored by Benjamin Wenger's avatar Benjamin Wenger
Browse files

removed an unused counter

parent 706fe9e5
No related branches found
No related tags found
2 merge requests!170Release,!125Garbled message logging
......@@ -57,7 +57,6 @@ func (m *Manager) handleGarbledMessages() {
e2eKv := m.Session.E2e()
var failedMsgs []format.Message
//try to decrypt every garbled message, excising those who's counts are too high
i:=0
for grbldMsg, count, timestamp, has := garbledMsgs.Next(); has; grbldMsg, count, timestamp, has = garbledMsgs.Next() {
//if it exists, check against all in the list
modifiedContents := append([]byte{0}, grbldMsg.GetContents()...)
......@@ -123,7 +122,6 @@ func (m *Manager) handleGarbledMessages() {
m.Session.GetGarbledMessages().Add(grbldMsg)
m.Switchboard.Speak(raw)
}
i++
}
// fail the message if any part of the decryption fails,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment