relaycorp / awala-endpoint-internet

Middleware for server-side apps to communicate over Awala without implementing any of the networking or cryptography from the protocol suite.
https://docs.relaycorp.tech/awala-endpoint-internet/
GNU Affero General Public License v3.0
1 stars 0 forks source link

Retrive last session key #49

Closed levansuper closed 1 year ago

levansuper commented 1 year ago

I removed all the unnecessary code. routes tests The important part here is https://github.com/relaycorp/awala-endpoint-internet/pull/49/files#diff-42c5b9da7d8a329f54e6ffce5833cb544b3a3accb467a19132bbe8f23c19baf7R28-R48

It should return the session key but it returns null and this is the reason channel.makeMessage throws an error