Repair channels if necessary

This commit is contained in:
eikendev 2021-02-09 00:05:16 +01:00
parent f5560b0c46
commit 2e2326843f
No known key found for this signature in database
GPG key ID: A1BDB1B28C8EF694
12 changed files with 114 additions and 31 deletions

View file

@ -11,7 +11,7 @@ import (
// SendNotification sends a notification to the specified user.
func (d *Dispatcher) SendNotification(a *model.Application, n *model.Notification) error {
log.Printf("Sending notification to room %s.\n", a.MatrixID)
log.Printf("Sending notification to room %s.", a.MatrixID)
plainTitle := strings.TrimSpace(n.Title)
plainMessage := strings.TrimSpace(n.Message)