Define JID type when searching for duplciates

Fixes #9163
This commit is contained in:
Philipp Hörist 2018-06-01 17:46:26 +02:00
parent 6413c568d4
commit 2abbb1e224

View file

@ -1287,7 +1287,11 @@ class Logger:
if not ids: if not ids:
return False return False
archive_id = self.get_jid_id(archive_jid) type_ = JIDConstant.NORMAL_TYPE
if groupchat:
type_ = JIDConstant.ROOM_TYPE
archive_id = self.get_jid_id(archive_jid, type_=type_)
account_id = self.get_account_id(account) account_id = self.get_account_id(account)
if groupchat: if groupchat: