summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/stub/potr/__init__.py0
-rw-r--r--doc/stub/potr/context.py9
-rw-r--r--doc/stub/pyotr.py6
3 files changed, 9 insertions, 6 deletions
diff --git a/doc/stub/potr/__init__.py b/doc/stub/potr/__init__.py
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/doc/stub/potr/__init__.py
diff --git a/doc/stub/potr/context.py b/doc/stub/potr/context.py
new file mode 100644
index 00000000..b8ebda67
--- /dev/null
+++ b/doc/stub/potr/context.py
@@ -0,0 +1,9 @@
+
+class NotEncryptedError: pass
+class UnencryptedMessage: pass
+class ErrorReceived: pass
+class NotEncryptedError: pass
+class NotOTRMessage: pass
+STATE_ENCRYPTED, STATE_PLAINTEXT, STATE_FINISHED = 1, 1, 1
+class Context: pass
+class Account: pass
diff --git a/doc/stub/pyotr.py b/doc/stub/pyotr.py
deleted file mode 100644
index 0a9d2719..00000000
--- a/doc/stub/pyotr.py
+++ /dev/null
@@ -1,6 +0,0 @@
-class OTR(object):
- pass
-
-MSG_STATE_PLAINTEXT = 1
-MSG_STATE_ENCRYPTED = 2
-MSG_STATE_FINISHED = 3