[Telepathy-commits] [telepathy-qt4/master] PendingChannel: we don't officially know about FileTransfer yet
Simon McVittie
simon.mcvittie at collabora.co.uk
Tue Feb 10 02:21:47 PST 2009
---
TelepathyQt4/Client/pending-channel.cpp | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/TelepathyQt4/Client/pending-channel.cpp b/TelepathyQt4/Client/pending-channel.cpp
index 82d6080..8bfe717 100644
--- a/TelepathyQt4/Client/pending-channel.cpp
+++ b/TelepathyQt4/Client/pending-channel.cpp
@@ -227,7 +227,8 @@ Channel *PendingChannel::channel(QObject *parent) const
channel = new RoomList(connection(), mPriv->objectPath.path(),
mPriv->immutableProperties, parent);
}
- else if (channelType() == TELEPATHY_INTERFACE_CHANNEL_TYPE_FILE_TRANSFER) {
+ // FIXME: update spec so we can do this properly
+ else if (channelType() == "org.freedesktop.Telepathy.Channel.Type.FileTransfer") {
channel = new FileTransfer(connection(), mPriv->objectPath.path(),
mPriv->immutableProperties, parent);
}
--
1.5.6.5
More information about the telepathy-commits
mailing list