if (dialog.isQueryFeed())
{
int queryType = dialog.getFeedQueryType();
String parameter = dialog.getFeedParameter();
QueryFeed qfeed = controller.createQueryFeed(null, title, queryType, parameter, purgeLimit);
if (qfeed != null) qfeed.setDedupProperties(isDedup, from, to);
feed = qfeed;
} else
{
Query searchQuery = dialog.getFeedSearchQuery();
SearchFeed sfeed = controller.createSearchFeed(null, title, searchQuery, purgeLimit);