Fix read receipts in private chats and remove unnecessary stuff

This commit is contained in:
Tulir Asokan committed 2018-08-26 01:56:22 +03:00
1 parent 160ecb0c95
commit 7f91d91f1b
3 files changed
+1 -29

No files matched your search

-1
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