Cause bot to send hints to both needs
Prior to this commit, the bot only sent a hint to the last need, now it also sends a hint to
the last-but-one.
@@ -95,6 +95,9 @@ public class LastSeenNeedsMatcherBot extends EventBot
ctx.getMatcherProtocolNeedServiceClient().hint(currentNeedURI, lastNeedURI, 0.5, originator,
null, createWonMessage(
currentNeedURI, lastNeedURI, 0.5, originator));
+ ctx.getMatcherProtocolNeedServiceClient().hint(lastNeedURI, currentNeedURI, 0.5, originator,
+ null, createWonMessage(
+ lastNeedURI, currentNeedURI, 0.5, originator));
}
}));
}
