From b70c362f2b3d52413084cea07307ddb265f698d2 Mon Sep 17 00:00:00 2001 From: Samuel Hawksby-Robinson Date: Sun, 26 Jul 2020 22:44:07 +0100 Subject: [PATCH] Bug fix on SendChatMessage() related to membership update --- protocol/messenger.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/protocol/messenger.go b/protocol/messenger.go index 3e5f65f5f..bb93a0cef 100644 --- a/protocol/messenger.go +++ b/protocol/messenger.go @@ -1450,7 +1450,7 @@ func (m *Messenger) SendChatMessage(ctx context.Context, message *Message) (*Mes return nil, err } - encodedMessage, err = m.processor.EncodeMembershipUpdate(group, &message.ChatMessage) + encodedMessage, err = m.processor.EncodeMembershipUpdate(group, message) if err != nil { return nil, err }