Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

messages are not persistent #7

Open
antron3000 opened this issue Jul 17, 2020 · 5 comments
Open

messages are not persistent #7

antron3000 opened this issue Jul 17, 2020 · 5 comments

Comments

@antron3000
Copy link

antron3000 commented Jul 17, 2020

Hi, I integrated the widget onto a website as per the instructions, but it seems the messages aren't persistent, and I can't see messages from anyone else.

My website:
http://testchat3.surge.sh/

@geleeroyale
Copy link

geleeroyale commented Jul 5, 2021

@iurimatias This issue still needs resolving it seems - implemented status chat widget in a ReactJS application to fulfill Status.im chat sponsoring EthCC [4]

You can access a preview here -> https://ethcc-interspace.netlify.app/

[Edit] It is possible to open the chat on multiple clients and chat between them, but sessions don't access older messages and in status.im app (android) messages don't turn up either

@iurimatias
Copy link
Member

iurimatias commented Jul 6, 2021

@antron3000 @geleeroyale in this version of whisper/waku the messages aren't persistent unless there are history nodes.

This repo is now very outdated, the protocol has evolved since then and you can find something more recent at https://github.com/status-im/js-waku , there is no widget yet though afak (cc: @D4nte)

@geleeroyale
Copy link

geleeroyale commented Jul 6, 2021

Thank you very much! It would be awesome to get some help here as we don't have resources to code up a full client implementation before ethCC starts 😳

Let's take the discussion to the waiku repo

@D4nte
Copy link

D4nte commented Jul 7, 2021

Can you please clarify what you are trying to achieve?

js-waku provide Waku v2 protocol building blocks. I made a simple example web chat using js-waku to demonstrate what can be done with js-waku here: https://github.com/status-im/js-waku/tree/main/examples/web-chat
But this is not a "full [chat] client implementation". Status does not use Waku v2 yet so it would not be possible to have a web client using js-waku on one side and the android app on the other.

I am also dogfooding js-waku by using the chat app. There are connectivity issues that I am yet to resolve waku-org/js-waku#185 that makes any web app built on top of js-waku simple PoC, I would not even call it beta.

@geleeroyale
Copy link

Thank you for clarification @D4nte - that is essentially what we wanted to do:

Have a chat window embedded on our site that would be connected to a public chat room that people could access in the Status.im app.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants