[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    proko2: kdepim/kresources/kolab
From:       David Faure <faure () kde ! org>
Date:       2004-07-20 22:17:04
Message-ID: 20040720221704.3F9CC99D8 () office ! kde ! org
[Download RAW message or body]

CVS commit by faure: 

Set the subject to the UID, makes things easier for the Horde people


  M +1 -1      kabc/resourcekolab.cpp   1.1.2.14
  M +2 -2      knotes/resourcekolab.cpp   1.1.2.19


--- kdepim/kresources/kolab/kabc/resourcekolab.cpp  #1.1.2.13:1.1.2.14
@@ -277,5 +277,5 @@ bool KABC::ResourceKolab::kmailUpdateAdd
   }
 
-  bool rc = kmailUpdate( subResource, sernum, xml, s_attachmentMimeType, \
addr.assembledName(), +  bool rc = kmailUpdate( subResource, sernum, xml, \
                s_attachmentMimeType, addr.uid() /*subject*/,
                          att.attachmentURLs, att.attachmentMimeTypes, \
att.attachmentNames,  att.deletedAttachments );

--- kdepim/kresources/kolab/knotes/resourcekolab.cpp  #1.1.2.18:1.1.2.19
@@ -179,5 +179,5 @@ bool ResourceKolab::addNote( KCal::Journ
     kdDebug(5500) << k_funcinfo << "XML string:\n" << xml << endl;
 
-    if( !kmailUpdate( resource, sernum, xml, attachmentMimeType, journal->summary() \
) ) { +    if( !kmailUpdate( resource, sernum, xml, attachmentMimeType, \
                journal->uid() ) ) {
       kdError(5500) << "Communication problem in ResourceKolab::addNote()\n";
       return false;
@@ -224,5 +224,5 @@ void ResourceKolab::incidenceUpdated( KC
   KCal::Journal* journal = dynamic_cast<KCal::Journal*>( i );
   QString xml = Note::journalToXML( journal );
-  if( !xml.isEmpty() && kmailUpdate( subResource, sernum, xml, attachmentMimeType, \
journal->summary() ) ) +  if( !xml.isEmpty() && kmailUpdate( subResource, sernum, \
xml, attachmentMimeType, journal->uid() ) )  mUidMap[ i->uid() ] = StorageReference( \
subResource, sernum );  }


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic