/***************************************************************************
- * Copyright (C) 2005-2013 by the Quassel Project *
+ * Copyright (C) 2005-2016 by the Quassel Project *
* devel@quassel-irc.org *
* *
* This program is free software; you can redistribute it and/or modify *
}
+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() << ")";