servalproject/serval_chat

Any workaround to send feed/p2p message?

Closed this issue ยท 9 comments

My UI is completely different than serval_chat and it seems that you only know if the feed/message successfully delivered through load all feeds/messages then listen for future ones using runnable thread but what if I want to send without load? at this, I cannot find how to assure it delivered or not and this would make sense to gain better performance.

any thoughts? @lakeman

Thanks for your notes, it really helped. I will leave this issue open to collect all the things related to p2p/feed which may inconvenient or unreliable.

when you send a p2p message to a peer, he may not receive it and you know that by ACK received or not but I couldn't find a way to provide a fallback I mean try to send it again without typing a new one @lakeman I think it makes sense so you don't duplicate a message in a receiver side

and there is a mechanism to know when a message has been received by the other side, as they will send an acknowledgement message in their message stream to the other party

I already understand this but when a message dropped nothing returned indicating a drop action I mean we can add another action such as MESSAGE_SENT/RECEIVED/ACK/ DROPPED

One thread reading the global list of new/updated rhizome bundles will tell you which content has been updated.

MeshMS uses journal bundles as described in serval-dna doc but couldn't find a way to update/delete a message in a bundle (remove it from my local file) I think to delete a dropped message instead of keeping it to be synchronized once again.

Thanks for clarifying