Explorar el Código

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 hace 13 años
padre
commit
54b44414ff
Se han modificado 1 ficheros con 4 adiciones y 0 borrados
  1. 4 0
      modules_k/presence/subscribe.h

+ 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;
 
 };