status-im / status-protocol-go

Status Protocol implementation in Go
Mozilla Public License 2.0
0 stars 1 forks source link

Implement group messages logic #86

Closed adambabik closed 4 years ago

adambabik commented 4 years ago

These changes implement logic of validating and handling new updates to the group.

Each update is verified, the events are validated and recomputed, and the chat is updated.

This PR contains one backward incompatible change. The signature of Messenger.Send changes to:

Send(ctx context.Context, chatID string, data []byte) ([][]byte, error)

because now Send can send multiple messages if a group chat has more than 1 member.

Limitations