js: don't allow message operation changes
authorMaximilian Krambach <maximilian.krambach@intevation.de>
Mon, 23 Apr 2018 17:15:40 +0000 (19:15 +0200)
committerMaximilian Krambach <maximilian.krambach@intevation.de>
Mon, 23 Apr 2018 17:15:40 +0000 (19:15 +0200)
commit727340b295f25e04cb595022ba143cda48364697
tree81d54f26c2dfcdd324382119486b6681a529aed2
parentd62f66b1fb47f2075770d896f672748a4136e70b
js: don't allow message operation changes

--

Once an operation is changed, their set of allowed/required parameters
will change. So we shouldn't set/change the operation later.
lang/js/src/Keyring.js
lang/js/src/Message.js
lang/js/src/gpgmejs.js