[omemo] Add PEP devicelist module
This commit is contained in:
@@ -29,7 +29,6 @@ from nbxmpp.protocol import NS_PUBSUB, Iq
|
||||
from nbxmpp.simplexml import Node
|
||||
|
||||
from gajim.common import app # pylint: disable=import-error
|
||||
from gajim.common.pep import AbstractPEP # pylint: disable=import-error
|
||||
from gajim.plugins.helpers import log_calls # pylint: disable=import-error
|
||||
|
||||
NS_PUBSUB_EVENT = NS_PUBSUB + '#event'
|
||||
@@ -91,14 +90,6 @@ class DevicelistQuery(Iq):
|
||||
self.addChild(node=pubsub)
|
||||
|
||||
|
||||
class DevicelistPEP(AbstractPEP):
|
||||
type_ = 'omemo-devicelist'
|
||||
namespace = NS_DEVICE_LIST
|
||||
|
||||
def _extract_info(self, items):
|
||||
return ({}, [])
|
||||
|
||||
|
||||
def make_bundle(state_bundle):
|
||||
result = Node('bundle', attrs={'xmlns': NS_OMEMO})
|
||||
prekey_pub_node = result.addChild(
|
||||
|
||||
Reference in New Issue
Block a user