diff options
author | Johann Prieur <johann.prieur@gmail.com> | 2007-09-08 01:41:55 +0200 |
---|---|---|
committer | Johann Prieur <johann.prieur@gmail.com> | 2007-09-08 01:41:55 +0200 |
commit | 2e0d45baf196cbd15de1c60b5a919e9fd05dd108 (patch) | |
tree | a15f6dc3e1a540470fa7194de97f047c629c968e /test.py | |
parent | 8a9f99dc56351c5a1891aa8271ad23f64bb30fde (diff) |
- Fixed typo.
Diffstat (limited to 'test.py')
-rwxr-xr-x | test.py | 13 |
1 files changed, 8 insertions, 5 deletions
@@ -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 |