Permalink
Browse files

changed the default behavior to be consistent with the pre-resource s…

…upport: if no resource is specified then Jenkins is used
  • Loading branch information...
1 parent cd2810a commit b6c96cae265b3e529be14c586e4a15c34a9eebf6 Jeremiah Johnson committed Mar 25, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/main/java/hudson/plugins/jabber/im/transport/JabberIMConnection.java
@@ -316,7 +316,8 @@ private boolean createConnection() throws XMPPException {
}
if (this.connection.isConnected()) {
- this.connection.login(this.desc.getUserName(), this.passwd, this.resource);
+ this.connection.login(this.desc.getUserName(), this.passwd,
+ this.resource != null ? this.resource : "Jenkins");
setupSubscriptionMode();
createVCardIfNeeded();

0 comments on commit b6c96ca

Please sign in to comment.