Bug fix on SendChatMessage() related to membership update

This commit is contained in:
Samuel Hawksby-Robinson 2020-07-26 22:44:07 +01:00 committed by Andrea Maria Piana
parent e9eb05e3d1
commit b70c362f2b
No known key found for this signature in database
GPG Key ID: AA6CCA6DE0E06424
1 changed files with 1 additions and 1 deletions

View File

@ -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
}