feat: disciple link
This commit is contained in:
@@ -38,6 +38,14 @@ type Feedback struct {
|
||||
ReplyMessage *string `json:"reply_message,omitempty"`
|
||||
RepliedAt *time.Time `json:"replied_at,omitempty"`
|
||||
|
||||
// HasContactEmail reports *whether* an anonymous submitter left a reply-to
|
||||
// address, without carrying the address itself. Populated only by
|
||||
// Recent(), whose sole consumer is the PUBLIC /stats page — that page has
|
||||
// to distinguish "anonymous, but we can reply" from "anonymous dead end"
|
||||
// while never handling the email. Admins see the real address in the
|
||||
// admin panel, which is auth-gated.
|
||||
HasContactEmail bool `json:"-"`
|
||||
|
||||
AuthorHandle *string `json:"author_handle,omitempty"`
|
||||
AuthorName *string `json:"author_name,omitempty"`
|
||||
AuthorEmail *string `json:"-"` // server-side only; never serialised
|
||||
|
||||
Reference in New Issue
Block a user