Bug fix on HandleMembershipUpdate()
This commit is contained in:
parent
45c1e5ba1c
commit
e9eb05e3d1
|
@ -107,9 +107,8 @@ func (m *MessageHandler) HandleMembershipUpdate(messageState *ReceivedMessageSta
|
|||
// Set in the map
|
||||
messageState.ModifiedChats[chat.ID] = true
|
||||
|
||||
msg, ok := message.Message.(*protobuf.ChatMessage)
|
||||
if msg != nil && ok {
|
||||
messageState.CurrentMessageState.Message = *msg
|
||||
if message.Message != nil {
|
||||
messageState.CurrentMessageState.Message = *message.Message
|
||||
return m.HandleChatMessage(messageState)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue