mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-10-29 15:32:25 -05:00
[feature] add support for polls + receiving federated status edits (#2330)
This commit is contained in:
parent
7204ccedc3
commit
e9e5dc5a40
84 changed files with 3992 additions and 570 deletions
|
|
@ -31,6 +31,9 @@ type Mention interface {
|
|||
// GetMentions gets multiple mentions.
|
||||
GetMentions(ctx context.Context, ids []string) ([]*gtsmodel.Mention, error)
|
||||
|
||||
// PopulateMention ensures that all sub-models of a mention are populated (e.g. accounts).
|
||||
PopulateMention(ctx context.Context, mention *gtsmodel.Mention) error
|
||||
|
||||
// PutMention will insert the given mention into the database.
|
||||
PutMention(ctx context.Context, mention *gtsmodel.Mention) error
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue