Package: konversation / 1.7.5-1

debian_channel.diff Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
From: Modestas Vainius <modestas@vainius.eu>
Subject: [PATCH] debian/debian_channel

Connect to Debian IRC server and join both #debian and
#debian-kde channels by default.

Signed-off-by: Modestas Vainius <modestas@vainius.eu>

---
 src/config/preferences.cpp |   10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)

--- a/src/config/preferences.cpp
+++ b/src/config/preferences.cpp
@@ -64,12 +64,14 @@
     Konversation::ServerGroupSettingsPtr serverGroup(new Konversation::ServerGroupSettings);
     serverGroup->setName(QStringLiteral("freenode"));
     Konversation::ServerSettings server;
-    server.setHost(QStringLiteral("chat.freenode.net"));
-    server.setPort(8001);
+    server.setHost(QStringLiteral("irc.debian.org"));
+    server.setPort(7000);
     serverGroup->addServer(server);
     serverGroup->setIdentityId(mIdentity->id());
     Konversation::ChannelSettings channel;
-    channel.setName(QStringLiteral("#konversation"));
+    channel.setName(QStringLiteral("#debian"));
+    serverGroup->addChannel(channel);
+    channel.setName(QStringLiteral("#debian-kde"));
     serverGroup->addChannel(channel);
     serverGroup->setExpanded(false);
     mServerGroupHash.insert(0, serverGroup);