fix dequeue account data issue

This commit is contained in:
Aine
2023-01-27 00:02:23 +02:00
parent 3f1fd00fb6
commit ddf2460dbd

View File

@@ -60,7 +60,7 @@ func (q *Queue) Remove(id string) error {
q.mu.Lock(itemkey)
defer q.mu.Unlock(itemkey)
return q.lp.SetAccountData(itemkey, nil)
return q.lp.SetAccountData(itemkey, map[string]string{})
}
// try to send email