summaryrefslogtreecommitdiff
path: root/sunshine/channel
diff options
context:
space:
mode:
authorKrzysztof Klinikowski <kkszysiu@gmail.com>2011-05-07 19:59:15 +0200
committerKrzysztof Klinikowski <kkszysiu@gmail.com>2011-05-07 19:59:15 +0200
commit8c64a8f6b0993f58a750d290389db0d8a13c54b2 (patch)
tree29bf2788dbbc7a6bf4745d6cbef7159792d14d05 /sunshine/channel
parentb288fe75b601c4ffbb1195a1d33af1afdcb22256 (diff)
Fixed message types implementation.
Diffstat (limited to 'sunshine/channel')
-rw-r--r--sunshine/channel/text.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sunshine/channel/text.py b/sunshine/channel/text.py
index c182205..d728162 100644
--- a/sunshine/channel/text.py
+++ b/sunshine/channel/text.py
@@ -60,7 +60,7 @@ class SunshineTextChannel(SunshineChannel,
'MessagePartSupportFlags': lambda: 1,
'DeliveryReportingSupport': lambda: 0,
'PendingMessages': lambda: dbus.Array(self._pending_messages2.values(), signature='aa{sv}'),
- 'MessageTypes': lambda: message_type != telepathy.CHANNEL_TEXT_MESSAGE_TYPE_NORMAL
+ 'MessageTypes': lambda: [telepathy.CHANNEL_TEXT_MESSAGE_TYPE_NORMAL]
})
self._add_immutables({