mirror of
https://github.com/Athou/commafeed.git
synced 2026-03-21 21:37:29 +00:00
Revert for the moment as it breaks pubsub handling
This commit is contained in:
@@ -23,7 +23,6 @@ import com.commafeed.backend.feeds.FeedUtils;
|
||||
import com.commafeed.backend.model.Feed;
|
||||
import com.commafeed.backend.model.FeedPushInfo;
|
||||
import com.commafeed.backend.services.ApplicationSettingsService;
|
||||
import com.google.common.collect.Iterables;
|
||||
import com.google.common.collect.Lists;
|
||||
|
||||
public class SubscriptionHandler {
|
||||
@@ -38,7 +37,7 @@ public class SubscriptionHandler {
|
||||
FeedPushInfoDAO feedPushInfoDAO;
|
||||
|
||||
public void subscribe(Feed feed) {
|
||||
FeedPushInfo info = Iterables.getFirst(feed.getPushInfo(), null);
|
||||
FeedPushInfo info = feed.getPushInfo();
|
||||
String hub = info.getHub();
|
||||
String topic = info.getTopic();
|
||||
String publicUrl = FeedUtils
|
||||
|
||||
Reference in New Issue
Block a user