backend for xcvr appview
3
fork

Configure Feed

Select the types of activity you want to include in your feed.

this seems really stupid i don't know why i did it this way think about this when not tired

+2 -2
+2 -2
server/internal/db/db.go
··· 189 189 var query string 190 190 if cursor != nil { 191 191 query = fmt.Sprintf(queryFmt, "AND s.message_id < $3", "AND s.message_id < $3") 192 - return s.evalGetItems(query, ctx, limit, *cursor) 192 + return s.evalGetItems(query, ctx, limit, channelURI, *cursor) 193 193 } else { 194 194 query = fmt.Sprintf(queryFmt, "", "") 195 - return s.evalGetItems(query, ctx, limit) 195 + return s.evalGetItems(query, ctx, limit, channelURI) 196 196 } 197 197 } 198 198 func (s *Store) evalGetItems(query string, ctx context.Context, limit int, params ...any) ([]types.SignedItemView, error) {