Branch 'kolab/integration/4.13.0' - plugins/messageviewer

Sandro Knauß knauss at kolabsys.com
Thu Mar 5 21:00:24 CET 2015


 plugins/messageviewer/bodypartformatter/text_calendar.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 22960a1ab445ade2e154940cdef6628e18e6ddb7
Author: Sandro Knauß <knauss at kolabsys.com>
Date:   Thu Mar 5 20:44:28 2015 +0100

    Make sure organisator get reply for attendes without rsvp=true
    
    If attendee status is NEEDS-ACTION the oarganisator should get reponse
    from attendees independently from the the RSVP value.
    
    KOLAB 4357

diff --git a/plugins/messageviewer/bodypartformatter/text_calendar.cpp b/plugins/messageviewer/bodypartformatter/text_calendar.cpp
index a285c04..9e6effc 100644
--- a/plugins/messageviewer/bodypartformatter/text_calendar.cpp
+++ b/plugins/messageviewer/bodypartformatter/text_calendar.cpp
@@ -996,7 +996,7 @@ class UrlHandler : public Interface::BodyPartURLHandler
         }
       }
 
-      if ( status !=  Attendee::NeedsAction && ( ( myself && myself->RSVP() ) || heuristicalRSVP( incidence ) ) ) {
+      if ( status !=  Attendee::NeedsAction && ( ( myself && (myself->RSVP() || myself->status() == Attendee::NeedsAction)) || heuristicalRSVP( incidence ) ) ) {
         Attendee::Ptr newMyself = setStatusOnMyself( incidence, myself, status, receiver );
         if ( newMyself && status == Attendee::Delegated ) {
           newMyself->setDelegate( delegateString );




More information about the commits mailing list