core, XEP-0315: move XML element handling to sat_tmp:

XML Element is now implemented in sat_tmp, so it can be available also for SàT Pubsub.
The XEP-0315 is thus not needed anymore and have been removed, XEP-0315 namespace has been added to base disco features.
Use the new install() function of sat_tmp to do the patching.
This commit is contained in:
Goffi 2019-01-16 09:18:16 +01:00
commit e2ab5e33c8

View file

@ -1,8 +1,4 @@
# FIXME: remove this when RSM and MAM are in wokkel
# XXX: the Monkey Patch is here and not in src/__init__ to avoir issues with pyjamas compilation
import wokkel
from sat_tmp.wokkel import pubsub as tmp_pubsub, rsm as tmp_rsm, mam as tmp_mam
wokkel.pubsub = tmp_pubsub
wokkel.rsm = tmp_rsm
wokkel.mam = tmp_mam
# TODO: remove this when changes are merged in Wokkel
from sat_tmp.wokkel import install
install()