types: remove unused FullMessage.Info field

This field is always nil. Either we should initialize it to a proper
value or remove it. Since it is unused, remove it.

Signed-off-by: Robin Jarry <robin@jarry.cc>
Acked-by: Moritz Poldrack <moritz@poldrack.dev>
This commit is contained in:
Robin Jarry 2022-10-25 19:08:58 +02:00
parent 9d71da175a
commit a820e12d0f

View file

@ -229,7 +229,6 @@ type MessageInfo struct {
type FullMessage struct { type FullMessage struct {
Message Message
Info *models.MessageInfo
Content *models.FullMessage Content *models.FullMessage
} }