Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SmsInboxAPI: print messages in opposite order
With this the newest messages appear at the bottom of the printed list, which is the same behaviour we had before merging recent SmsInboxAPI changes. Finding the newest message is easier if it is at the end of printed message, no need to scroll or at least search for the start of the printed output. Before this commit we had: [ { "threadid": 7, "type": "inbox", "read": true, "number": "+123", "received": "2021-04-24 20:59:16", "body": "bar" }, { "threadid": 5, "type": "inbox", "read": true, "sender": "foo", "number": "+123", "received": "2021-04-23 13:12:28", "body": "bar" }, { "threadid": 5, "type": "sent", "read": true, "sender": "foo", "number": "+123", "received": "2021-04-21 13:11:14", "body": "bar" } ] With this we get: [ { "threadid": 5, "type": "sent", "read": true, "sender": "foo", "number": "+123", "received": "2021-04-21 13:11:14", "body": "bar" }, { "threadid": 5, "type": "inbox", "read": true, "sender": "foo", "number": "+123", "received": "2021-04-23 13:12:28", "body": "bar" }, { "threadid": 7, "type": "inbox", "read": true, "number": "+123", "received": "2021-04-24 20:59:16", "body": "bar" } ]
- Loading branch information