AnthyG / ThunderWave

A chat for ZeroNet
http://127.0.0.1:43110/1CWkZv7fQAKxTVjZVrLZ8VHcrN6YGGcdky/
15 stars 3 forks source link

Citation for private- / groupchat #107

Open AnthyG opened 5 years ago

AnthyG commented 5 years ago

I currently have not implemented citation (/ answer/ reply) in private- or groupchat because messages sent in either of those are completely encrypted and the only thing I can reference to is the message_id, which is different for everybody, because of ZeroNet, and message which is just the encrypted message's json. And then also the json_id..

So I guess the only way to actually make this feature work in private- or groupchat is to reference to both, the json_id and the encrypted message, though this will mean that if a message get's edited, the citation will no longer work.