Skip to content

Commit

Permalink
Merge pull request tucnak#113 from irgendwr/fix-IsForwarded
Browse files Browse the repository at this point in the history
IsForwarded() fixed.
  • Loading branch information
Ian Byrd authored Dec 26, 2017
2 parents 25672b8 + 933b28f commit 8060e4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion message.go
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ func (m *Message) LastEdited() time.Time {
// IsForwarded says whether message is forwarded copy of another
// message or not.
func (m *Message) IsForwarded() bool {
return m.OriginalChat != nil
return m.OriginalSender != nil || m.OriginalChat != nil
}

// IsReply says whether message is a reply to another message.
Expand Down

0 comments on commit 8060e4c

Please sign in to comment.