ecb2bac6e5
The reason for this issue is a message where recipient accepted to share his address with sender. In that message recipient's public key is set as a "from" property of a "Message" object and we cannot determine which of two users has initiated transaction actually. This is fixed checking if the "from" address from the "commandParameters" object of the "Message" is contained as an address in the wallet of logged in user. If yes, means that currently logged in user has initiated a transaction (he is a sender), otherwise currently logged in user is a recipient. We were just sending a transaction, without notifying message about that. Now we call callPrivateRPC("acceptRequestTransaction".prefix, %* [transactionHash, messageId, signature]) and that notifies message about the change, but only on the sender side. Appropriate message on the recipient side was not notified about the change. That need to be checked. |
||
---|---|---|
.. | ||
AppLayouts | ||
img | ||
AppMain.qml | ||
qmldir |