summaryrefslogtreecommitdiff
path: root/examples/client/python/text-handler.py
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2011-01-28 11:46:05 +0100
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2011-01-28 11:46:05 +0100
commit1019848043bf56d23e6e9e63540f5e8eaa283722 (patch)
tree5403b23892b08da6123039a160d03f1afae9705c /examples/client/python/text-handler.py
parent187aeea2b19b7b26171dbb51bfc15ab92b5611a7 (diff)
use TelepathyGLib.ChannelTextMessageType.NORMAL
Diffstat (limited to 'examples/client/python/text-handler.py')
-rwxr-xr-xexamples/client/python/text-handler.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/client/python/text-handler.py b/examples/client/python/text-handler.py
index 23bf2adb4..b3d36b23f 100755
--- a/examples/client/python/text-handler.py
+++ b/examples/client/python/text-handler.py
@@ -13,7 +13,8 @@ def echo_message(channel, msg, pending):
else:
print "received: %s" % (text)
- reply = TelepathyGLib.ClientMessage.new_text(0, text.upper())
+ reply = TelepathyGLib.ClientMessage.new_text(
+ TelepathyGLib.ChannelTextMessageType.NORMAL, text.upper())
channel.send_message_async(reply, 0, lambda a, b, c: 0, None)