Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
Replaced LOCATION with ORGANIZER for CalendarJournalObject.
authorSteve Brokenshire <sbrokenshire@xestia.co.uk>
Sun, 31 Jan 2016 14:45:46 +0000 (14:45 +0000)
committerSteve Brokenshire <sbrokenshire@xestia.co.uk>
Sun, 31 Jan 2016 14:45:46 +0000 (14:45 +0000)
source/objects/calendarjournal/CalendarJournal.cpp

index d8201dc..8a70db0 100644 (file)
@@ -271,9 +271,9 @@ void CalendarJournalObject::ProcessData(){
                
        }
        
-       // Process the data from LOCATION.
+       // Process the data from ORGANIZER.
        
-       DataReceived = ProcessTextVectors(&ObjectName, &ObjectData, false, "LOCATION");
+       DataReceived = ProcessTextVectors(&ObjectName, &ObjectData, false, "ORGANIZER");
        
        if (DataReceived.begin() != DataReceived.end()){
        
@@ -287,13 +287,21 @@ void CalendarJournalObject::ProcessData(){
                for(map<string,string>::iterator iter = PropertyData.begin();
                        iter != PropertyData.end(); iter++){
                        
-                       if (iter->first == "ALTREP"){
+                       if (iter->first == "CN"){
                                
-                               LocationDataAltRep = iter->second;
+                               OrganiserDataCommonName = iter->second;
+                               
+                       } else if (iter->first == "DIR"){
+                               
+                               OrganiserDataDirectoryEntry = iter->second;
+                               
+                       } else if (iter->first == "SENT-BY"){
+                               
+                               OrganiserDataSentByParam = iter->second;
                                
                        } else if (iter->first == "LANGUAGE"){
                                
-                               LocationDataLanguage = iter->second;
+                               OrganiserDataLanguage = iter->second;
                                
                        } else {
                                
@@ -313,11 +321,11 @@ void CalendarJournalObject::ProcessData(){
                
                if (PropertyTokens.size() > 0){
                        
-                       LocationDataTokens = PropertyTokens;
+                       OrganiserDataTokens = PropertyTokens;
                        
                }
                
-               LocationData = DataReceived.begin()->second;
+               OrganiserData = DataReceived.begin()->second;
                
        }
        
Xestia Software Development
Yn Maystri
© 2006 - 2019 Xestia Software Development
Software

Xestia Address Book
Xestia Calendar
Development

Xestia Gelforn
Everything else

About
News
Privacy Policy