Random tiny changes
This commit is contained in:
committed by
nimbleghost
parent
7f3e4b5f47
commit
9e0687e142
@@ -41,7 +41,7 @@ type message struct {
|
||||
PollID string `json:"poll_id,omitempty"`
|
||||
Encoding string `json:"encoding,omitempty"` // empty for raw UTF-8, or "base64" for encoded bytes
|
||||
Sender netip.Addr `json:"-"` // IP address of uploader, used for rate limiting
|
||||
User string `json:"-"` // Username of the uploader, used to associated attachments
|
||||
User string `json:"-"` // UserID of the uploader, used to associated attachments
|
||||
}
|
||||
|
||||
func (m *message) Context() log.Context {
|
||||
@@ -476,7 +476,7 @@ type webPushPayload struct {
|
||||
|
||||
type webPushSubscription struct {
|
||||
BrowserSubscription webpush.Subscription
|
||||
Username string
|
||||
UserID string
|
||||
}
|
||||
|
||||
type webPushSubscribePayload struct {
|
||||
|
||||
Reference in New Issue
Block a user