- Improved the speed of IrcServerHandler (and other BasicHandler
[quassel.git] / src / uisupport / bufferview.cpp
index 5374338..14b27ec 100644 (file)
@@ -87,7 +87,7 @@ void BufferView::joinChannel(const QModelIndex &index) {
   if(bufferType != BufferItem::ChannelType)
     return;
   
-  Client::fakeInput(index.data(NetworkModel::BufferUidRole).toUInt(), QString("/JOIN %1").arg(index.sibling(index.row(), 0).data().toString()));
+  Client::fakeInput(index.data(NetworkModel::BufferIdRole).toUInt(), QString("/JOIN %1").arg(index.sibling(index.row(), 0).data().toString()));
 }
 
 void BufferView::keyPressEvent(QKeyEvent *event) {