From 67823237e62f974f5ded5423eb0f03d1f48fe2e4 Mon Sep 17 00:00:00 2001 From: ycc Date: Sat, 28 Feb 2026 19:01:49 +0100 Subject: [PATCH] remove useless password --- client/helpers/messageHelper.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/client/helpers/messageHelper.go b/client/helpers/messageHelper.go index 6ae198f..cfb1bc5 100644 --- a/client/helpers/messageHelper.go +++ b/client/helpers/messageHelper.go @@ -109,7 +109,8 @@ func ReadAckMessageResponse() { // - job.Queue = peer UID (used to look up the peer and its DB files) // - job.File = a path whose basename without extension is the message's // SQLite row ID as a decimal integer (e.g. "42.bin") -func ProcessSentMessages(storagePath, password string) int { +func ProcessSentMessages(storagePath string) int { + password, _ := client.GetConfig().GetMemPass() queueDir := filepath.Join(storagePath, "queues") entries, err := os.ReadDir(queueDir) if err != nil {