fix: resolve lll lint issues

This commit is contained in:
user
2026-02-20 03:15:37 -08:00
parent 6ca3ad0e99
commit 5fad27ff4c

View File

@@ -199,7 +199,9 @@ func (s *Database) PollMessages(ctx context.Context, userID string, afterTS stri
} }
// GetMessagesBefore returns channel messages before a given timestamp (for history scrollback). // GetMessagesBefore returns channel messages before a given timestamp (for history scrollback).
func (s *Database) GetMessagesBefore(ctx context.Context, target string, beforeTS string, limit int) ([]MessageInfo, error) { func (s *Database) GetMessagesBefore(
ctx context.Context, target string, beforeTS string, limit int,
) ([]MessageInfo, error) {
if limit <= 0 { if limit <= 0 {
limit = 50 limit = 50
} }
@@ -257,7 +259,9 @@ func (s *Database) GetMessagesBefore(ctx context.Context, target string, beforeT
} }
// GetDMsBefore returns DMs between two users before a given timestamp. // GetDMsBefore returns DMs between two users before a given timestamp.
func (s *Database) GetDMsBefore(ctx context.Context, userA, userB string, beforeTS string, limit int) ([]MessageInfo, error) { func (s *Database) GetDMsBefore(
ctx context.Context, userA, userB string, beforeTS string, limit int,
) ([]MessageInfo, error) {
if limit <= 0 { if limit <= 0 {
limit = 50 limit = 50
} }