10 Replies Latest reply on Jan 18, 2016 10:14 AM by lbarquer

    Querying content recently created on a plugin

    lbarquer

      Hi,

      I'm working on a plugin for Jive SBS 4.5.6. I'm trying to intercept the content creation to send the new content to the moderation queue depending on several parameters. The part that is giving me problems is trying to get the recently created content. When I try to look for the content recently created sometimes the content that I just created is returned, sometimes everything, except the content that I just created is returned. These are the methods that I'm using to get the data:

       

      • com.jivesoftware.community.ForumManager#getUserMessages(com.jivesoftware.base.User)
      • com.jivesoftware.community.RecentContentManager#getRecentContent(com.jivesoftware.base.User)

       

      Has anyone experienced something similar?

       

      Thanks