2
0
Эх сурвалжийг харах

modules_k/presence: Some important stuff was removed when the latest set of presence fixes were merged in

- The result was that PUA and RLS in master would not longer compile
- I have restored the stuff needed to build PUA and RLS, but there
  could well be other stuff that has been lost
Peter Dunkley 13 жил өмнө
parent
commit
54b44414ff

+ 4 - 0
modules_k/presence/subscribe.h

@@ -52,6 +52,9 @@ struct pres_ev;
 
 #define PRES_SUBSCRIBE_RECV		1
 
+#define INTERNAL_UPDATE_FALSE	0
+#define INTERNAL_UPDATE_TRUE	1
+
 struct subscription
 {
 	str pres_uri;
@@ -78,6 +81,7 @@ struct subscription
 	int db_flag;
 	str* auth_rules_doc;
 	int recv_event;
+	int internal_update_flag;
 	struct subscription* next;
 
 };