powered by Jive Software

Plugin.gateway.tweak.persistentroster option not working

the new option is not working, because the persistent flag is never set true…

Index: src/java/org/jivesoftware/openfire/gateway/BaseTransport.java

===================================================================

— src/java/org/jivesoftware/openfire/gateway/BaseTransport.java (revision 9042)

+++ src/java/org/jivesoftware/openfire/gateway/BaseTransport.java (working copy)

@@ -1209,7 +1211,7 @@

// roster items related to the gateway service will be persistent. Roster

// items of legacy users are never persisted in the DB.

RosterItem gwitem =

  •                        roster.createRosterItem(contactjid, false, contactjid.getNode() == null);
    
  •                        roster.createRosterItem(contactjid, false, contactjid.getNode() == null || JiveGlobals.getBooleanProperty("plugin.gateway.tweak.persistentroster", false));
    

gwitem.setSubStatus(subtype);

gwitem.setAskStatus(asktype);

gwitem.setNickname(nickname);

/code

Aww hell, thanks notz! I kept thinking I had missed a spot! I just applied this to trunk.