summarylogtreecommitdiffstats
path: root/messagearchiver_build_fix.patch
blob: baa031cf5858b5ebffb57329cb21ea93046995d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- src/plugins/messagearchiver/messagearchiver.cpp	2015-06-08 21:32:43.000000000 +0300
+++ src/plugins/messagearchiver/messagearchiver.cpp	2018-10-21 23:40:42.885683899 +0300
@@ -9,8 +9,8 @@
 #define SESSIONS_FILE_NAME    "sessions.xml"
 
 #define SHC_MESSAGE_BODY      "/message/body"
-#define SHC_PREFS             "/iq[@type='set']/pref[@xmlns="NS_ARCHIVE"]"
-#define SHC_PREFS_OLD         "/iq[@type='set']/pref[@xmlns="NS_ARCHIVE_OLD"]"
+#define SHC_PREFS             "/iq[@type='set']/pref[@xmlns=" NS_ARCHIVE "]"
+#define SHC_PREFS_OLD         "/iq[@type='set']/pref[@xmlns=" NS_ARCHIVE_OLD "]"
 
 #define ADR_STREAM_JID        Action::DR_StreamJid
 #define ADR_CONTACT_JID       Action::DR_Parametr1