This commit is contained in:
@@ -109,7 +109,8 @@ func ReadAckMessageResponse() {
|
|||||||
// - job.Queue = peer UID (used to look up the peer and its DB files)
|
// - 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
|
// - job.File = a path whose basename without extension is the message's
|
||||||
// SQLite row ID as a decimal integer (e.g. "42.bin")
|
// 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")
|
queueDir := filepath.Join(storagePath, "queues")
|
||||||
entries, err := os.ReadDir(queueDir)
|
entries, err := os.ReadDir(queueDir)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|||||||
Reference in New Issue
Block a user