- this.subscribedChanged();
- },
- clickChatter: function() {
- this.bubble("onChatter");
- },
- clickSubscribe: function() {
- this.bubble("onSubscribe");
- },
- clickUnsubscribe: function() {
- this.bubble("onUnsubscribe");
- },
- subscribedChanged: function() {
- if (this.subscribed == null) {
- this.$.subscribeLink.hide();
- this.$.unsubscribeLink.hide();
- } else if (this.subscribed) {
- this.$.subscribeLink.hide();
- this.$.unsubscribeLink.show();
- } else {
- this.$.subscribeLink.show();
- this.$.unsubscribeLink.hide();
- }