Better connected to pub message

This commit is contained in:
Anders Rune Jensen
2017-05-12 21:00:13 +02:00
parent bff02dfad0
commit 7f394d0394
+2 -4
View File
@@ -391,7 +391,6 @@ function render(opts, c) {
return '<span class="status">' +
"Created a git issue" + (c.repoName != undefined ? " in repo " + c.repoName : "") + renderPost(opts, c) +
'</span>';
//renderDefault(c);
}
else if (c.type == "git-update") {
return '<span class="status">' +
@@ -408,9 +407,8 @@ function render(opts, c) {
}
else if (c.type == "pub") {
return '<span class="status">' +
"Connected to a pub" +
'</span>' +
renderDefault(c);
"Connected to the pub " + c.address.host +
'</span>'
}
else if (c.type == "channel" && c.subscribed)
return '<span class="status">' +