Skip to content

Commit 3ca3af4

Browse files
author
Lloyd Watkin
committed
Use local cache if we have it
1 parent 80eee39 commit 3ca3af4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/org/buddycloud/channelserver/packetprocessor/iq/namespace/pubsub/get/NodeConfigureGet.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public void process(Element elm, JID actorJID, IQ reqIQ, Element rsm)
5151
return;
5252
}
5353

54-
if (!channelManager.isLocalNode(node)) {
54+
if (!channelManager.isLocalNode(node) && !channelManager.isCachedNodeConfig(node)) {
5555
makeRemoteRequest();
5656
return;
5757
}

0 commit comments

Comments
 (0)