Minor fix
This commit is contained in:
parent
e1f569d4e6
commit
5649c93eda
@ -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,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user