Restructure notification code for batching
1 open thread
1 open thread
Compare changes
+ 84
− 84
@@ -33,7 +33,6 @@ import (
@@ -68,7 +67,6 @@ type Impl struct {
@@ -114,7 +112,6 @@ func StartNotifications(params Params, noTLS, noFirebase bool) (*Impl, error) {
@@ -186,93 +183,89 @@ func NewImplementation(instance *Impl) *notificationBot.Implementation {
@@ -425,20 +418,27 @@ func (nb *Impl) Sender(sendFreq int) {