Add a timestamp to events
[quassel.git] / src / common / bufferinfo.cpp
index 19e6279..5732048 100644 (file)
@@ -1,5 +1,5 @@
 /***************************************************************************
- *   Copyright (C) 2005-08 by the Quassel Project                          *
+ *   Copyright (C) 2005-09 by the Quassel Project                          *
  *   devel@quassel-irc.org                                                 *
  *                                                                         *
  *   This program is free software; you can redistribute it and/or modify  *
@@ -45,6 +45,10 @@ BufferInfo::BufferInfo(BufferId id,  NetworkId networkid, Type type, uint gid, Q
 {
 }
 
+BufferInfo BufferInfo::fakeStatusBuffer(NetworkId networkId) {
+  return BufferInfo(0, networkId, StatusBuffer);
+}
+
 QString BufferInfo::bufferName() const {
   if(isChannelName(_bufferName))
     return _bufferName;