Fix read receipts in private chats and remove unnecessary stuff

This commit is contained in:
Tulir Asokan
2018-08-25 15:28:33 +03:00
parent 160ecb0c95
commit 7f91d91f1b
3 changed files with 1 additions and 29 deletions

View File

@ -263,7 +263,6 @@ func (portal *Portal) MainIntent() *appservice.IntentAPI {
func (portal *Portal) IsDuplicate(id types.WhatsAppMessageID) bool {
msg := portal.bridge.DB.Message.GetByJID(portal.Owner, id)
if msg != nil {
portal.log.Debugln("Ignoring duplicate message", id)
return true
}
return false