mirror of https://github.com/status-im/go-waku.git
fix(chat2): query ordering
This commit is contained in:
parent
3b4dcf3195
commit
83b05881ff
|
@ -385,7 +385,7 @@ func (c *Chat) retrieveHistory(connectionWg *sync.WaitGroup) {
|
||||||
response, err := c.node.Store().Query(tCtx, q,
|
response, err := c.node.Store().Query(tCtx, q,
|
||||||
store.WithAutomaticRequestId(),
|
store.WithAutomaticRequestId(),
|
||||||
storeOpt,
|
storeOpt,
|
||||||
store.WithPaging(true, 100))
|
store.WithPaging(false, 100))
|
||||||
|
|
||||||
if err != nil {
|
if err != nil {
|
||||||
c.ui.ErrorMessage(fmt.Errorf("could not query storenode: %w", err))
|
c.ui.ErrorMessage(fmt.Errorf("could not query storenode: %w", err))
|
||||||
|
|
Loading…
Reference in New Issue