From: Manuel Nickschas Date: Mon, 17 Feb 2014 21:21:29 +0000 (+0100) Subject: Enable the DataStream protocol by default X-Git-Tag: 0.10-beta1~13 X-Git-Url: https://git.quassel-irc.org/?a=commitdiff_plain;h=365a99155c179e97c4321ceaee936d9729609cf3;p=quassel.git Enable the DataStream protocol by default Now that compression works, let's use the DataStream protocol by default if both sides claim support for it. --- diff --git a/src/common/peerfactory.cpp b/src/common/peerfactory.cpp index 655a6e11..0dc0140d 100644 --- a/src/common/peerfactory.cpp +++ b/src/common/peerfactory.cpp @@ -27,8 +27,8 @@ PeerFactory::ProtoList PeerFactory::supportedProtocols() { ProtoList result; - result.append(ProtoDescriptor(Protocol::LegacyProtocol, 0)); result.append(ProtoDescriptor(Protocol::DataStreamProtocol, DataStreamPeer::supportedFeatures())); + result.append(ProtoDescriptor(Protocol::LegacyProtocol, 0)); return result; }