commit 1428193a4f957664f9c271f6db1892b47d0d40e2 parent 58d126247a55f9072d84cdc8eb07662b39524cee Author: n0tr1v <n0tr1v@protonmail.com> Date: Fri, 9 Jun 2023 10:03:21 -0700 typo Diffstat:
| M | pkg/web/handlers/interceptors/slashInterceptor.go | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pkg/web/handlers/interceptors/slashInterceptor.go b/pkg/web/handlers/interceptors/slashInterceptor.go @@ -833,7 +833,7 @@ func handleEditCmd(c *command.Command) (handled bool) { return true } if time.Since(dt) > config.EditMessageTimeLimit { - c.Err = errors.New("message to old to be edited") + c.Err = errors.New("message too old to be edited") return true } msg, err := c.DB.GetRoomChatMessageByDate(c.Room.ID, c.AuthUser.ID, dt.UTC())