Commit Graph

9 Commits

Author SHA1 Message Date
Adam Babik 1859f6c80c
Implement group messages logic (#86) 2019-10-13 20:16:43 +02:00
Pedro Pombeiro ef677358d8
Prepare API to support other implementations of ETH nodes- Wrap geth types so they don't leak from the library internals 2019-10-09 14:20:51 +02:00
Adam Babik fb57d64bcf
Implement signing MembershipUpdate message (#78) 2019-09-30 17:11:30 +02:00
Adam Babik dbf4c4062e
Improve interface around chats and add matching messages against chats (#66) 2019-09-20 08:41:53 +02:00
Andrea Maria Piana 8a6d5a6b49
Add LastMessageTimestamp
Following the already established pattern, we add another denormalized
field, lastMessageTimestamp, to be used in a similar way as the rest.
2019-09-02 10:51:07 +02:00
Adam Babik 287f9aa26c
add Messenger.Init() (#55) 2019-08-25 17:48:37 +02:00
Andrea Maria Piana 9f0db157bf
Omit empty fields for group membership updates 2019-08-20 11:20:21 +02:00
Andrea Maria Piana b742356b68
Add chats API calls
This commits adds two API calls:

SaveChat
GetChats

The first one behaves like an upsert.
The second takes two parameters, from, to and returns chats in reverse
order by timestamp.

Members and MembershipUpdates have been stored as blob of data to
simplify the querying (we never query them separately).
2019-08-02 07:38:20 +02:00
Adam Babik 5c6039f77f
Refactor the library (#20) 2019-07-16 12:43:07 +02:00