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
|
// Set in the map
|
||||||
messageState.ModifiedChats[chat.ID] = true
|
messageState.ModifiedChats[chat.ID] = true
|
||||||
|
|
||||||
msg, ok := message.Message.(*protobuf.ChatMessage)
|
if message.Message != nil {
|
||||||
if msg != nil && ok {
|
messageState.CurrentMessageState.Message = *message.Message
|
||||||
messageState.CurrentMessageState.Message = *msg
|
|
||||||
return m.HandleChatMessage(messageState)
|
return m.HandleChatMessage(messageState)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue