From 51c603afe0373f45f8d389c99cac9d3aec959b75 Mon Sep 17 00:00:00 2001 From: bt Date: Sun, 24 May 2026 18:52:58 +0200 Subject: [common] Users and permissions database --- server/user.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server/user.go') diff --git a/server/user.go b/server/user.go index af3e1a6..5b8049f 100644 --- a/server/user.go +++ b/server/user.go @@ -175,7 +175,7 @@ func (s *Server) handleHistory(user *User, conn net.Conn, hist core.History) err return user.Send(conn, core.Error{core.ErrorNotFound}) } - messages, err := s.Storage.Read(hist.Channel, hist.Since, int(hist.Count), int(hist.Offset)) + messages, err := s.Storage.GetHistory(hist.Channel, hist.Since, int(hist.Count), int(hist.Offset)) if err != nil { fmt.Println("cannot get message history:", err) return user.Send(conn, core.Error{core.ErrorNotFound}) -- cgit v1.2.3