Skip to content

Commit

Permalink
Test more, drink less
Browse files Browse the repository at this point in the history
  • Loading branch information
Scrin committed Jun 9, 2023
1 parent 2b9317d commit 73f1562
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bot/cmd_remind.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ func remind(roomID, sender, msg, msgType, formattedBody string) {
return
}

formattedParams := strings.SplitN(msg, " ", 3)
formattedParams := strings.SplitN(formattedBody, " ", 3)
var reminderText string
if msgType == "org.matrix.custom.html" && len(formattedParams) >= 3 {
reminderText = formattedParams[2]
Expand Down

0 comments on commit 73f1562

Please sign in to comment.