1
0
Fork 0
mirror of https://github.com/diamondburned/cchat-gtk.git synced 2024-11-16 11:12:44 +00:00
cchat-gtk/internal/ui/messages/container/cozy/message_compact.go

12 lines
389 B
Go

package cozy
// CompactMessage is a message that follows after FullMessage. It does not show
// the header, and the avatar is invisible.
type CompactMessage struct {
// Essentially, CompactMessage is just a full message with some things
// hidden. Its Avatar and Timestamp will still be updated. This is a
// trade-off between performance, efficiency and code length.
*FullMessage
}