diff sat/plugins/__init__.py @ 2778:f7deb1c36b47

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.
author Goffi <goffi@goffi.org>
date Wed, 16 Jan 2019 09:18:16 +0100
parents 56f94936df1e
children 11003f9f92fb
line wrap: on
line diff
--- a/sat/plugins/__init__.py	Tue Jan 15 08:51:56 2019 +0100
+++ b/sat/plugins/__init__.py	Wed Jan 16 09:18:16 2019 +0100
@@ -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()