forked from MirrorHub/mautrix-whatsapp
Ignore @lid chats in history syncs
This commit is contained in:
parent
a57f4a67be
commit
5892169dd0
1 changed files with 3 additions and 0 deletions
|
@ -430,6 +430,9 @@ func (user *User) storeHistorySync(evt *waProto.HistorySync) {
|
|||
} else if jid.Server == types.BroadcastServer {
|
||||
log.Debug().Str("chat_jid", jid.String()).Msg("Skipping broadcast list in history sync")
|
||||
continue
|
||||
} else if jid.Server == types.HiddenUserServer {
|
||||
log.Debug().Str("chat_jid", jid.String()).Msg("Skipping hidden user JID chat in history sync")
|
||||
continue
|
||||
}
|
||||
totalMessageCount += len(conv.GetMessages())
|
||||
portal := user.GetPortalByJID(jid)
|
||||
|
|
Loading…
Reference in a new issue