File tree Expand file tree Collapse file tree
src/main/java/org/buddycloud/channelserver/packetprocessor/iq/namespace/pubsub/get Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -123,15 +123,18 @@ private boolean getUserMemberships(Element affiliations) throws NodeStoreExcepti
123123 for (NodeMembership membership : memberships ) {
124124
125125 if (membership .getSubscription ().equals (Subscriptions .none )) {
126- continue ;
126+ continue ;
127127 }
128128 Element affiliation = affiliations .addElement (XMLConstants .AFFILIATION_ELEM );
129129 affiliation .addAttribute (XMLConstants .NODE_ATTR , membership .getNodeId ());
130- affiliation .addAttribute (XMLConstants .AFFILIATION_ELEM , membership .getAffiliation ().toString ());
130+ affiliation .addAttribute (XMLConstants .AFFILIATION_ELEM , membership .getAffiliation ()
131+ .toString ());
131132 affiliation .addAttribute (XMLConstants .JID_ATTR , membership .getUser ().toBareJID ());
132133
133- if (membership .getSubscription ().equals (Subscriptions .invited ) && (null != membership .getInvitedBy ())) {
134- affiliation .addAttribute (XMLConstants .INVITED_BY_ATTR , membership .getInvitedBy ().toBareJID ());
134+ if (membership .getSubscription ().equals (Subscriptions .invited )
135+ && (null != membership .getInvitedBy ())) {
136+ affiliation .addAttribute (XMLConstants .INVITED_BY_ATTR , membership .getInvitedBy ()
137+ .toBareJID ());
135138 }
136139
137140 }
You can’t perform that action at this time.
0 commit comments