Minor fix

This commit is contained in:
Abhishek Pandey 2024-01-12 18:08:08 -08:00
parent e1f569d4e6
commit 5649c93eda

View File

@ -124,7 +124,7 @@ func (c Conversations) GetConversationPost(
func conversationPostInfo( func conversationPostInfo(
post models.Postable, post models.Postable,
size int64, size int64,
preview, prevPostID string, preview, inReplyToID string,
) *details.GroupsInfo { ) *details.GroupsInfo {
if post == nil { if post == nil {
return nil return nil
@ -139,7 +139,7 @@ func conversationPostInfo(
CreatedAt: ptr.Val(post.GetCreatedDateTime()), CreatedAt: ptr.Val(post.GetCreatedDateTime()),
Creator: sender, Creator: sender,
Preview: preview, Preview: preview,
InReplyTo: prevPostID, InReplyTo: inReplyToID,
Size: size, Size: size,
} }