aboutsummaryrefslogtreecommitdiffstats
path: root/src/net/java/sip
diff options
context:
space:
mode:
authorDanny van Heumen <danny@dannyvanheumen.nl>2015-05-23 16:19:58 +0200
committerDanny van Heumen <danny@dannyvanheumen.nl>2015-05-30 20:10:22 +0200
commita91784ca8dce84b4386342fb43ac2bbf86f4efa8 (patch)
tree4f21ad8d08fc8df13adcd2746178b22305ace17f /src/net/java/sip
parent695fe308d31675f145a4f92eed8e59c1f133a4d6 (diff)
downloadjitsi-a91784ca8dce84b4386342fb43ac2bbf86f4efa8.zip
jitsi-a91784ca8dce84b4386342fb43ac2bbf86f4efa8.tar.gz
jitsi-a91784ca8dce84b4386342fb43ac2bbf86f4efa8.tar.bz2
Added IRCv3 multi-prefix capability support.
Diffstat (limited to 'src/net/java/sip')
-rw-r--r--src/net/java/sip/communicator/impl/protocol/irc/ChannelManager.java6
-rw-r--r--src/net/java/sip/communicator/impl/protocol/irc/IrcConnection.java1
2 files changed, 7 insertions, 0 deletions
diff --git a/src/net/java/sip/communicator/impl/protocol/irc/ChannelManager.java b/src/net/java/sip/communicator/impl/protocol/irc/ChannelManager.java
index 128f3c8..6a4f3e2 100644
--- a/src/net/java/sip/communicator/impl/protocol/irc/ChannelManager.java
+++ b/src/net/java/sip/communicator/impl/protocol/irc/ChannelManager.java
@@ -477,6 +477,12 @@ public class ChannelManager
{
try
{
+ if (LOGGER.isTraceEnabled())
+ {
+ LOGGER.trace("Processing role " + status.getPrefix()
+ + " for member " + user.getNick() + " in channel "
+ + channel.getName());
+ }
role = convertMemberMode(status.getChanModeType());
member.addRole(role);
}
diff --git a/src/net/java/sip/communicator/impl/protocol/irc/IrcConnection.java b/src/net/java/sip/communicator/impl/protocol/irc/IrcConnection.java
index 7999e45..559b79b 100644
--- a/src/net/java/sip/communicator/impl/protocol/irc/IrcConnection.java
+++ b/src/net/java/sip/communicator/impl/protocol/irc/IrcConnection.java
@@ -222,6 +222,7 @@ public class IrcConnection
{
final ArrayList<Capability> capabilities = new ArrayList<Capability>();
capabilities.add(new SimpleCapability("away-notify"));
+ capabilities.add(new SimpleCapability("multi-prefix"));
final SASL sasl = config.getSASL();
if (sasl != null)
{