mirror of
https://git.sr.ht/~cadence/bibliogram
synced 2026-03-01 18:31:35 +00:00
Add preferRSS setting
This commit is contained in:
parent
c5d8b5788b
commit
6e136dc77a
7 changed files with 84 additions and 26 deletions
|
|
@ -180,9 +180,9 @@ class TimelineEntry extends TimelineBaseMethods {
|
|||
}
|
||||
// The owner may be in the user cache, so copy from that.
|
||||
// This could be implemented better.
|
||||
else if (collectors.requestCache.hasNotPromise("user/"+this.data.owner.username)) {
|
||||
else if (collectors.userRequestCache.hasNotPromise("user/"+this.data.owner.username)) {
|
||||
/** @type {import("./User")} */
|
||||
const user = collectors.requestCache.getWithoutClean("user/"+this.data.owner.username)
|
||||
const user = collectors.userRequestCache.getWithoutClean("user/"+this.data.owner.username)
|
||||
if (user.data.full_name) {
|
||||
this.data.owner = {
|
||||
id: user.data.id,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue