Skip to content

Commit

Permalink
Merge pull request #452 from CPSSD/c/reblog-pics
Browse files Browse the repository at this point in the history
Include profile pics for reblogs
  • Loading branch information
CianLR authored Mar 14, 2019
2 parents d46e14c + 68e17ca commit 3220d83
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions services/proto/feed.proto
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ message Share {
string sharer_bio = 13;
string share_datetime = 14;
string author_host = 15;
int64 author_id = 16;
}

message FeedResponse {
Expand Down
1 change: 1 addition & 0 deletions services/utils/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ func ConvertShareToFeed(ctx context.Context, p *pb.SharesResponse, db UsersGette
SharerBio: sharer.Bio,
Sharer: sharer.Handle,
ShareDatetime: ConvertPbTimestamp(r.AnnounceDatetime),
AuthorId: author.GlobalId,
}
pe = append(pe, np)
}
Expand Down

0 comments on commit 3220d83

Please # to comment.