X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fcommon%2Fbufferinfo.cpp;h=cc1c49c13125ef1646d3db2aff63e9e50c9fdc58;hb=47a6910aed00018c7230cc2cc90ae8e80fa77dda;hp=da013e38124c2456348584804cc64bdf86e89d2c;hpb=9fc57dc2c000e80fb8bd746a090e2e8210e1278e;p=quassel.git diff --git a/src/common/bufferinfo.cpp b/src/common/bufferinfo.cpp index da013e38..cc1c49c1 100644 --- a/src/common/bufferinfo.cpp +++ b/src/common/bufferinfo.cpp @@ -62,6 +62,14 @@ QString BufferInfo::bufferName() const } +bool BufferInfo::acceptsRegularMessages() const +{ + if(_type == StatusBuffer || _type == InvalidBuffer) + return false; + return true; +} + + QDebug operator<<(QDebug dbg, const BufferInfo &b) { dbg.nospace() << "(bufId: " << b.bufferId() << ", netId: " << b.networkId() << ", groupId: " << b.groupId() << ", buf: " << b.bufferName() << ")";