+2
-14
api/server/actorgetprofile.go
+2
-14
api/server/actorgetprofile.go
···
45
Pronouns: resp.Profile.Pronouns,
46
CreatedAt: resp.Profile.CreatedAt.AsTime().Format(time.RFC3339Nano),
47
IndexedAt: resp.Profile.IndexedAt.AsTime().Format(time.RFC3339Nano),
48
-
Viewer: &vylet.ActorDefs_ViewerState{
49
-
BlockedBy: new(bool),
50
-
Blocking: new(string),
51
-
FollowedBy: new(string),
52
-
Following: new(string),
53
-
Muted: new(bool),
54
-
},
55
}, nil
56
}
57
···
82
Pronouns: resp.Profile.Pronouns,
83
CreatedAt: resp.Profile.CreatedAt.AsTime().Format(time.RFC3339Nano),
84
IndexedAt: resp.Profile.IndexedAt.AsTime().Format(time.RFC3339Nano),
85
-
Viewer: &vylet.ActorDefs_ViewerState{
86
-
BlockedBy: new(bool),
87
-
Blocking: new(string),
88
-
FollowedBy: new(string),
89
-
Following: new(string),
90
-
Muted: new(bool),
91
-
},
92
}, nil
93
}
94
···
45
Pronouns: resp.Profile.Pronouns,
46
CreatedAt: resp.Profile.CreatedAt.AsTime().Format(time.RFC3339Nano),
47
IndexedAt: resp.Profile.IndexedAt.AsTime().Format(time.RFC3339Nano),
48
+
Viewer: &vylet.ActorDefs_ViewerState{},
49
}, nil
50
}
51
···
76
Pronouns: resp.Profile.Pronouns,
77
CreatedAt: resp.Profile.CreatedAt.AsTime().Format(time.RFC3339Nano),
78
IndexedAt: resp.Profile.IndexedAt.AsTime().Format(time.RFC3339Nano),
79
+
Viewer: &vylet.ActorDefs_ViewerState{},
80
}, nil
81
}
82
+2
-14
api/server/actorgetprofiles.go
+2
-14
api/server/actorgetprofiles.go
···
47
Pronouns: profile.Pronouns,
48
CreatedAt: profile.CreatedAt.AsTime().Format(time.RFC3339Nano),
49
IndexedAt: profile.IndexedAt.AsTime().Format(time.RFC3339Nano),
50
-
Viewer: &vylet.ActorDefs_ViewerState{
51
-
BlockedBy: new(bool),
52
-
Blocking: new(string),
53
-
FollowedBy: new(string),
54
-
Following: new(string),
55
-
Muted: new(bool),
56
-
},
57
}
58
})
59
}
···
96
Pronouns: profile.Pronouns,
97
CreatedAt: profile.CreatedAt.AsTime().Format(time.RFC3339Nano),
98
IndexedAt: profile.IndexedAt.AsTime().Format(time.RFC3339Nano),
99
-
Viewer: &vylet.ActorDefs_ViewerState{
100
-
BlockedBy: new(bool),
101
-
Blocking: new(string),
102
-
FollowedBy: new(string),
103
-
Following: new(string),
104
-
Muted: new(bool),
105
-
},
106
}
107
})
108
}
···
47
Pronouns: profile.Pronouns,
48
CreatedAt: profile.CreatedAt.AsTime().Format(time.RFC3339Nano),
49
IndexedAt: profile.IndexedAt.AsTime().Format(time.RFC3339Nano),
50
+
Viewer: &vylet.ActorDefs_ViewerState{},
51
}
52
})
53
}
···
90
Pronouns: profile.Pronouns,
91
CreatedAt: profile.CreatedAt.AsTime().Format(time.RFC3339Nano),
92
IndexedAt: profile.IndexedAt.AsTime().Format(time.RFC3339Nano),
93
+
Viewer: &vylet.ActorDefs_ViewerState{},
94
}
95
})
96
}
+3
-5
api/server/feedgetposts.go
+3
-5
api/server/feedgetposts.go
···
164
LikeCount: counts.Likes,
165
ReplyCount: counts.Replies,
166
Uri: post.Uri,
167
-
// Viewer: &vylet.FeedDefs_ViewerState{
168
-
// Like: new(string),
169
-
// },
170
-
CreatedAt: post.CreatedAt.AsTime().Format(time.RFC3339Nano),
171
-
IndexedAt: post.IndexedAt.AsTime().Format(time.RFC3339Nano),
172
}
173
174
media := vylet.FeedDefs_PostView_Media{
···
164
LikeCount: counts.Likes,
165
ReplyCount: counts.Replies,
166
Uri: post.Uri,
167
+
Viewer: &vylet.FeedDefs_ViewerState{},
168
+
CreatedAt: post.CreatedAt.AsTime().Format(time.RFC3339Nano),
169
+
IndexedAt: post.IndexedAt.AsTime().Format(time.RFC3339Nano),
170
}
171
172
media := vylet.FeedDefs_PostView_Media{