parent
c755aa88fb
commit
a6c1b8505a
3
main.go
3
main.go
|
|
@ -328,7 +328,6 @@ type recordedJob struct {
|
|||
}
|
||||
|
||||
func updateDeadJobs(jobs []broker.Job) error {
|
||||
return nil // todo fluffycat notifies on edit ew
|
||||
db := config.Get().DB()
|
||||
list, err := db.List([]string{}, "sent_job_", "sent_job_}}")
|
||||
if err != nil {
|
||||
|
|
@ -351,9 +350,11 @@ func updateDeadJobs(jobs []broker.Job) error {
|
|||
if err := json.Unmarshal(b, &recorded); err != nil {
|
||||
return err
|
||||
}
|
||||
/* // TODO this beeps on fluffychat
|
||||
if err := message.NewMatrix().Update(recorded.MatrixID, recorded.Job.FormatMultilineTextDead()); err != nil {
|
||||
return err
|
||||
}
|
||||
*/
|
||||
if err := db.Set(listEntry, nil); err != nil {
|
||||
return err
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue