Andrea Maria Piana
75e0809f50
Split datasync messages in batches
...
When sending messages in quick succession, it might be that multiple
messages are batched together in datasync, resulting in a single large
payload.
This commit changes the behavior so that we can pass a max-message-size
and we split the message in batches before sending.
A more elegant way would be to split at the transport layer (i.e
waku/whisper), but that would be incompatible with older client.
We can still do that eventually to support larger messages.
2020-11-05 12:45:29 +01:00
Andrea Maria Piana
8ee3c75510
Support for basic push notification for mentions
2020-09-09 21:22:13 +02:00
Andrea Maria Piana
541756c777
move contact code to subscription
2020-08-18 16:29:37 +02:00
Andrea Maria Piana
a1a6e1c6c0
linting
2020-07-30 20:21:00 +02:00
Andrea Maria Piana
2bf1991190
Use reflect.Value as ParsedMessage type and handle type case
2020-07-30 20:20:36 +02:00
Samuel Hawksby-Robinson
45c1e5ba1c
Updated MembershipUpdateMessage to use interfaced ChatEntity
...
Replaces ChatMessage only field
2020-07-30 20:20:31 +02:00
Samuel Hawksby-Robinson
3e857203ac
Created ChatEntity encoding per chat type
2020-07-30 20:20:29 +02:00
Andrea Maria Piana
0fb5ed2207
dont use a pointer for public methods
2020-07-29 12:51:48 +02:00
Andrea Maria Piana
4b8739a8bc
Polish up and address review feedback
2020-07-27 08:51:28 +02:00
Andrea Maria Piana
63af6aa79b
Use ephemeral keys for sending messsages
2020-07-27 08:51:27 +02:00
Andrea Maria Piana
d775bb888a
Handle retries & use sendChatMessage for e2e tests
2020-07-27 08:51:23 +02:00
Andrea Maria Piana
e89e36b081
Use resend automatically for datasync
2020-07-27 08:51:10 +02:00
Andrea Maria Piana
20fb8607cb
keep track of queries & actually send pns, hurray
2020-07-27 08:51:05 +02:00
Andrea Maria Piana
7e16f940de
Handle query response
2020-07-27 08:51:03 +02:00
Andrea Maria Piana
d985af4a7e
Implement server persistence for client & basic tests
2020-07-27 08:51:01 +02:00
Andrea Maria Piana
3afde67022
Move message processor to common and allow subscribing to sent messages
2020-07-27 08:51:00 +02:00