drop URL from Message as it is unfilled and superfluous

This commit is contained in:
Bel LaPointe
2024-04-16 09:13:44 -06:00
parent 4f3b8ec866
commit 600a2e0111
4 changed files with 2 additions and 6 deletions

View File

@@ -4,18 +4,16 @@ package model
type Message struct {
Updated uint64
ID string
URL string
TS uint64
Author string
Plaintext string
ThreadID string
}
func NewMessage(ID, URL string, TS uint64, Author, Plaintext string, ThreadID string) Message {
func NewMessage(ID string, TS uint64, Author, Plaintext string, ThreadID string) Message {
return Message{
Updated: updated(),
ID: ID,
URL: URL,
TS: TS,
Author: Author,
Plaintext: Plaintext,