tiny change

This commit is contained in:
tsmethurst 2021-09-14 11:23:24 +02:00
commit 76150121f9
2 changed files with 1 additions and 2 deletions

View file

@ -357,7 +357,7 @@ func (d *deref) populateStatusMentions(ctx context.Context, status *gtsmodel.Sta
Status: m.Status, Status: m.Status,
CreatedAt: status.CreatedAt, CreatedAt: status.CreatedAt,
UpdatedAt: status.UpdatedAt, UpdatedAt: status.UpdatedAt,
OriginAccountID: status.Account.ID, OriginAccountID: status.AccountID,
OriginAccountURI: status.AccountURI, OriginAccountURI: status.AccountURI,
OriginAccount: status.Account, OriginAccount: status.Account,
TargetAccountID: targetAccount.ID, TargetAccountID: targetAccount.ID,

View file

@ -99,7 +99,6 @@ func (suite *FromFederatorTestSuite) TestProcessReplyMention() {
}, },
}, },
AccountID: replyingAccount.ID, AccountID: replyingAccount.ID,
Account: replyingAccount,
AccountURI: replyingAccount.URI, AccountURI: replyingAccount.URI,
InReplyToID: repliedStatus.ID, InReplyToID: repliedStatus.ID,
InReplyToURI: repliedStatus.URI, InReplyToURI: repliedStatus.URI,