mirror of
https://github.com/J3vb/OwnCord.git
synced 2026-09-03 03:50:00 +03:00
chore: remaining server changes (code quality, go mod tidy)
Go mod tidy, minor server-side adjustments from security verification and code quality cleanup pass.
This commit is contained in:
@@ -11,12 +11,12 @@ import (
|
||||
|
||||
// DMChannelInfo holds a DM channel summary for the channel list.
|
||||
type DMChannelInfo struct {
|
||||
ChannelID int64 `json:"channel_id"`
|
||||
Recipient DMUser `json:"recipient"`
|
||||
LastMessageID *int64 `json:"last_message_id"`
|
||||
LastMessage string `json:"last_message"`
|
||||
LastMessageAt string `json:"last_message_at"`
|
||||
UnreadCount int `json:"unread_count"`
|
||||
ChannelID int64 `json:"channel_id"`
|
||||
Recipient DMUser `json:"recipient"`
|
||||
LastMessageID *int64 `json:"last_message_id"`
|
||||
LastMessage string `json:"last_message"`
|
||||
LastMessageAt string `json:"last_message_at"`
|
||||
UnreadCount int `json:"unread_count"`
|
||||
}
|
||||
|
||||
// DMUser is the public-facing shape for a DM participant.
|
||||
|
||||
Reference in New Issue
Block a user