[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-pim
Subject: [Kde-pim] Problem when accepting incidence update
From: Marc TAIEB <TAIEBMA () e-i ! com>
Date: 2003-09-16 13:03:09
[Download RAW message or body]
Hi,
I'am using imap resource in Kmail and there is a small problem when you
"accept" an update of a meeting.
You click on the "accept" link of the mail and you can see it in korganizer.
But when you close korganizer et reopen it, the event disappear.
In fact, the message was created in the Calendar folder and then deleted when
the update was made.
I have a patch to correct this. I only delete the Event in the localcalendar.
What you think about ?
Regards
Marc TAIEB
Euro Information Developpement
taiebma@e-i.com
Index: calendarimap/resourceimap.cpp
===================================================================
RCS file: /home/taiebma/kde/cvsroot/kdepim/libkcal/calendarimap/resourceimap.
cpp,v
retrieving revision 1.22
diff -u -r1.22 resourceimap.cpp
--- calendarimap/resourceimap.cpp 22 Jul 2003 18:56:47 -0000 1.22
+++ calendarimap/resourceimap.cpp 16 Sep 2003 12:49:35 -0000
@@ -467,7 +467,11 @@
mCurrentUID = incidencebase->uid();
QString vCal = mFormat.createScheduleMessage( incidencebase,
Scheduler::Request );
- mKMailIcalIfaceStub->deleteIncidence( type, mCurrentUID );
+ // We do not want to delete the message in the Calendar folder imap
+ // only delete the event in the calendar
+ // mKMailIcalIfaceStub->deleteIncidence( type, mCurrentUID );
+ Event* e = event(mCurrentUID);
+ mCalendar.deleteEvent(e);
mKMailIcalIfaceStub->addIncidence( "Journal", mCurrentUID, vCal );
mCurrentUID = QString::null;
_______________________________________________
kde-pim mailing list
kde-pim@mail.kde.org
http://mail.kde.org/mailman/listinfo/kde-pim
kde-pim home page at http://pim.kde.org/
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic