diff options
| author | bt <bt@rctt.net> | 2026-05-24 18:52:58 +0200 |
|---|---|---|
| committer | bt <bt@rctt.net> | 2026-05-24 18:52:58 +0200 |
| commit | 51c603afe0373f45f8d389c99cac9d3aec959b75 (patch) | |
| tree | 77de75fbfec26c332bcaf79424c66cd0e9615be8 /server/user.go | |
| parent | cd925e3c7716216902f3a0ef4c333f32e5f1bdb4 (diff) | |
| download | solec-51c603afe0373f45f8d389c99cac9d3aec959b75.tar.gz solec-51c603afe0373f45f8d389c99cac9d3aec959b75.zip | |
[common] Users and permissions database
Diffstat (limited to 'server/user.go')
| -rw-r--r-- | server/user.go | 2 |
1 files changed, 1 insertions, 1 deletions
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}) |
