Skip to content

Commit

Permalink
Handle the upcoming "post_comment" event
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmz committed Nov 9, 2023
1 parent 01decbb commit 7d5eb9f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions chat/process-event.go
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,8 @@ func (c *Chat) renderEvent(event *frf.Event) tg.Chattable {
)
return c.withCommentBody(c.newHTMLMessage(headText), event)

case "post_comment":
fallthrough
case "__comment:new":
if event.CreatedUser == nil {
// Hidden comment, don't do anything
Expand Down

0 comments on commit 7d5eb9f

Please sign in to comment.