summaryrefslogtreecommitdiff
path: root/test.py
diff options
context:
space:
mode:
authorJohann Prieur <johann.prieur@gmail.com>2007-09-08 01:41:55 +0200
committerJohann Prieur <johann.prieur@gmail.com>2007-09-08 01:41:55 +0200
commit2e0d45baf196cbd15de1c60b5a919e9fd05dd108 (patch)
treea15f6dc3e1a540470fa7194de97f047c629c968e /test.py
parent8a9f99dc56351c5a1891aa8271ad23f64bb30fde (diff)
- Fixed typo.
Diffstat (limited to 'test.py')
-rwxr-xr-xtest.py13
1 files changed, 8 insertions, 5 deletions
diff --git a/test.py b/test.py
index a61a7ac..f299ca9 100755
--- a/test.py
+++ b/test.py
@@ -45,18 +45,21 @@ class AnnoyingConversation(pymsn.event.ConversationEventInterface):
gobject.timeout_add(5000, self.annoy_user)
def annoy_user(self):
- self._client.send_typing_notification()
+# self._client.send_typing_notification()
formatting = pymsn.TextFormat("Comic Sans MS",
pymsn.TextFormat.UNDERLINE | pymsn.TextFormat.BOLD,
'FF0000')
self._client.send_text_message("Let's free the pandas ! (testing pymsn)",
formatting)
- #self._client.send_nudge()
- #self._client.send_typing_notification()
- #self._client.send_typing_notification()
- #self._client.send_typing_notification()
+# self._client.send_nudge()
+# self._client.send_typing_notification()
+# self._client.send_typing_notification()
+# self._client.send_typing_notification()
return True
+ def on_conversation_user_typing(self, contact):
+ pass
+
def on_conversation_message_received(self, sender, message, formatting):
print formatting