mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-12-02 01:13:31 -06:00
mention notifications working
This commit is contained in:
parent
6eaeaa4d18
commit
4d5c150f9f
8 changed files with 88 additions and 17 deletions
|
|
@ -249,8 +249,8 @@ func (p *processor) dereferenceStatusFields(status *gtsmodel.Status) error {
|
|||
}
|
||||
|
||||
m.StatusID = status.ID
|
||||
m.OriginAccountID = status.GTSAccount.ID
|
||||
m.OriginAccountURI = status.GTSAccount.URI
|
||||
m.OriginAccountID = status.GTSAuthorAccount.ID
|
||||
m.OriginAccountURI = status.GTSAuthorAccount.URI
|
||||
|
||||
targetAccount := >smodel.Account{}
|
||||
if err := p.db.GetWhere([]db.Where{{Key: "uri", Value: uri.String()}}, targetAccount); err != nil {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue