summary refs log tree commit diff
path: root/synapse/appservice/__init__.py
diff options
context:
space:
mode:
authorKegan Dougal <kegan@matrix.org>2015-02-04 11:19:18 +0000
committerKegan Dougal <kegan@matrix.org>2015-02-04 11:19:18 +0000
commit17753f0c20d0d8190095c5a3183630b78bf9650c (patch)
tree92975fb2f7fe22e3e65f8e5df2c478298ead579c /synapse/appservice/__init__.py
parentAdd appservice package and move ApplicationService into it. (diff)
downloadsynapse-17753f0c20d0d8190095c5a3183630b78bf9650c.tar.xz
Add stub ApplicationServiceApi and glue it with the handler.
Diffstat (limited to 'synapse/appservice/__init__.py')
-rw-r--r--synapse/appservice/__init__.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/synapse/appservice/__init__.py b/synapse/appservice/__init__.py
index f801fb5324..92f64619c9 100644
--- a/synapse/appservice/__init__.py
+++ b/synapse/appservice/__init__.py
@@ -31,10 +31,11 @@ class ApplicationService(object):
     # values.
     NS_LIST = [NS_USERS, NS_ALIASES, NS_ROOMS]
 
-    def __init__(self, token, url=None, namespaces=None):
+    def __init__(self, token, url=None, namespaces=None, txn_id=None):
         self.token = token
         self.url = url
         self.namespaces = self._check_namespaces(namespaces)
+        self.txn_id = None
 
     def _check_namespaces(self, namespaces):
         # Sanity check that it is of the form: