fixed a few things

This commit is contained in:
tsmethurst 2021-05-12 21:47:45 +02:00
commit 3ba528120c
6 changed files with 92 additions and 106 deletions

View file

@ -41,11 +41,11 @@ type Mention struct {
// NameString is for putting in the namestring of the mentioned user
// before the mention is dereferenced. Should be in a form along the lines of:
// @whatever_username@example.org
//
// This will not be put in the database, it's just for convenience.
NameString string `pg:"-"`
// Href is the web URL (not AP uri!) of the user mentioned.
//
// This will not be put in the database, it's just for convenience.
Href string `pg:"-"`
NameString string `pg:"-"`
// MentionedAccountURI is the AP ID (uri) of the user mentioned.
//
// This will not be put in the database, it's just for convenience.
MentionedAccountURI string `pg:"-"`
}