status-go/signal
Andrea Maria Piana fd49b0140e
Move to protobuf for Message type (#1706)
* Use a single Message type `v1/message.go` and `message.go` are the same now, and they embed `protobuf.ChatMessage`

* Use `SendChatMessage` for sending chat messages, this is basically the old `Send` but a bit more flexible so we can send different message types (stickers,commands), and not just text.

* Remove dedup from services/shhext. Because now we process in status-protocol, dedup makes less sense, as those messages are going to be processed anyway, so removing for now, we can re-evaluate if bringing it to status-go or not.

* Change the various retrieveX method to a single one:
`RetrieveAll` will be processing those messages that it can process (Currently only `Message`), and return the rest in `RawMessages` (still transit). The format for the response is:
`Chats`: -> The chats updated by receiving the message
`Messages`: -> The messages retrieved (already matched to a chat)
`Contacts`: -> The contacts updated by the messages
`RawMessages` -> Anything else that can't be parsed, eventually as we move everything to status-protocol-go this will go away.
2019-12-05 17:25:34 +01:00
..
doc.go Move signal logic into signal package 2018-05-03 09:35:58 +02:00
events_discovery.go Dump peer infos as discovery summary 2018-05-15 13:11:28 +03:00
events_node.go Add error to login signal (#1594) 2019-09-03 15:00:14 +02:00
events_shhext.go Move to protobuf for Message type (#1706) 2019-12-05 17:25:34 +01:00
events_sign.go Move signal logic into signal package 2018-05-03 09:35:58 +02:00
events_subs.go Implement subscription for eth and shh filters using signals. (#1455) 2019-05-07 09:05:38 +02:00
events_wallet.go Download transfers starting from latest block header (#1467) 2019-06-14 13:16:30 +03:00
ios.go Revert "Add build tags to signal package (#1119)" (#1148) 2018-08-10 13:23:28 +02:00
signals.c Gomobile support (#1164) 2019-02-01 18:02:52 +01:00
signals.go Download transfers starting from latest block header (#1467) 2019-06-14 13:16:30 +03:00
signals_test.go Move signal logic into signal package 2018-05-03 09:35:58 +02:00