mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-13 13:37:31 -07:00
[mastodon-client] populate user details for notifications
This commit is contained in:
parent
9bb8abce73
commit
b4d52ee24c
1 changed files with 2 additions and 0 deletions
|
@ -1236,6 +1236,8 @@ export default class Misskey implements MegalodonInterface {
|
||||||
const notification = this.converter.notification(n, host);
|
const notification = this.converter.notification(n, host);
|
||||||
if (n.note)
|
if (n.note)
|
||||||
notification.status = await this.noteWithDetails(n.note, host, cache);
|
notification.status = await this.noteWithDetails(n.note, host, cache);
|
||||||
|
if (notification.account)
|
||||||
|
notification.account = (await this.getAccount(notification.account.id)).data
|
||||||
return notification;
|
return notification;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue