diff mcabber/mcabber/roster.c @ 1691:b2e0083891cc

Replace JEP with XEP
author Mikael Berthe <mikael@lilotux.net>
date Sat, 06 Feb 2010 18:16:06 +0100
parents 41c26b7d2890
children 15e6b21df606
line wrap: on
line diff
--- a/mcabber/mcabber/roster.c	Sat Feb 06 01:50:29 2010 +0200
+++ b/mcabber/mcabber/roster.c	Sat Feb 06 18:16:06 2010 +0100
@@ -68,10 +68,10 @@
   gchar *realjid;       /* for chatrooms, if buddy's real jid is known */
   guint events;
   char *caps;
-#ifdef JEP0022
+#ifdef XEP0022
   struct jep0022 jep22;
 #endif
-#ifdef JEP0085
+#ifdef XEP0085
   struct jep0085 jep85;
 #endif
 #ifdef HAVE_GPGME
@@ -144,7 +144,7 @@
   g_free((gchar*)p_res->status_msg);
   g_free((gchar*)p_res->name);
   g_free((gchar*)p_res->realjid);
-#ifdef JEP0022
+#ifdef XEP0022
   g_free(p_res->jep22.last_msgid_sent);
   g_free(p_res->jep22.last_msgid_rcvd);
 #endif
@@ -1220,7 +1220,7 @@
 
 struct jep0022 *buddy_resource_jep22(gpointer rosterdata, const char *resname)
 {
-#ifdef JEP0022
+#ifdef XEP0022
   roster *roster_usr = rosterdata;
   res *p_res = get_resource(roster_usr, resname);
   if (p_res)
@@ -1231,7 +1231,7 @@
 
 struct jep0085 *buddy_resource_jep85(gpointer rosterdata, const char *resname)
 {
-#ifdef JEP0085
+#ifdef XEP0085
   roster *roster_usr = rosterdata;
   res *p_res = get_resource(roster_usr, resname);
   if (p_res)