mirror of
https://github.com/logos-messaging/logos-messaging-js.git
synced 2026-01-25 03:13:11 +00:00
Always trigger store query at connection
If no new messages are received, the rendering does not change as dupe messages are filtered out.
This commit is contained in:
parent
2c72c6d388
commit
836761143b
@ -57,7 +57,7 @@ export default function App() {
|
||||
} else {
|
||||
stateWaku.libp2p.pubsub.on(RelayDefaultTopic, handleNewMessages);
|
||||
|
||||
stateWaku.libp2p.peerStore.once(
|
||||
stateWaku.libp2p.peerStore.on(
|
||||
'change:protocols',
|
||||
handleProtocolChange.bind({}, stateWaku)
|
||||
);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user