pond icon indicating copy to clipboard operation
pond copied to clipboard

editstate clears revokedUs flag

Open leif opened this issue 10 years ago • 1 comments

The flag which indicates a contact has revoked me is cleared by running editstate on my state file (even if I don't change anything).

Subsequently, I can try to send messages to them and they fail with DELIVERY_SIGNATURE_INVALID (but pond continues to try to deliver it until I delete the message).

leif avatar Mar 31 '14 19:03 leif

I can't reproduce.

Download this, dummy state-file somewhere: https://drive.google.com/file/d/0B_OzbbAp1CG5TlEzenFESEp5LTA/edit?usp=sharing

If you run EDITOR=vim ../editstate/editstate --state-file=state (but with the correct state-file, of course) do you see that the RevokedUs flag is true initially? If you hit ZZ to save and exit and run the command again, is it there a second time?

If so, can you edit it to false, save and see that the value sticks when running editstate again?

agl avatar Apr 02 '14 11:04 agl