Browse code

Merge pull request #2901 from smititelu/5.3

presence: fix build

Daniel-Constantin Mierla authored on 25/10/2021 07:11:46 • GitHub committed on 25/10/2021 07:11:46
Showing 1 changed files
... ...
@@ -102,7 +102,7 @@ static int pres_dmq_init_proc()
102 102
 		}
103 103
 	}
104 104
 
105
-	if(publ_cache_mode==PS_PCACHE_RECORD && pres_subs_dbmode==NO_DB) {
105
+	if(publ_cache_enabled && subs_dbmode==NO_DB) {
106 106
 		goto finish;
107 107
 	}
108 108