From 83b05881ffac99838d3154b3e28e20329fe7ac94 Mon Sep 17 00:00:00 2001 From: Richard Ramos Date: Fri, 21 Oct 2022 11:37:19 -0400 Subject: [PATCH] fix(chat2): query ordering --- examples/chat2/chat.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/chat2/chat.go b/examples/chat2/chat.go index cd1328a9..b5bf5d8f 100644 --- a/examples/chat2/chat.go +++ b/examples/chat2/chat.go @@ -385,7 +385,7 @@ func (c *Chat) retrieveHistory(connectionWg *sync.WaitGroup) { response, err := c.node.Store().Query(tCtx, q, store.WithAutomaticRequestId(), storeOpt, - store.WithPaging(true, 100)) + store.WithPaging(false, 100)) if err != nil { c.ui.ErrorMessage(fmt.Errorf("could not query storenode: %w", err))