Bug 131029 - [PATCH] attendee in CC-fieldds are missing from an invitation if the own email address could not be found
Summary: [PATCH] attendee in CC-fieldds are missing from an invitation if the own emai...
Status: RESOLVED FIXED
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Solaris
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-18 16:11 UTC by Martin Ostertag
Modified: 2007-09-14 12:17 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
This patch adds the receiver from the CC-field to the listview container (579 bytes, patch)
2006-07-18 16:24 UTC, Martin Ostertag
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Ostertag 2006-07-18 16:11:36 UTC
Version:           1.9.3 (using KDE KDE 3.5.2)
Installed from:    Compiled From Sources
Compiler:          gcc 3.4.6 
OS:                Solaris

If kmail receives an invitation and could not find it's own email address in the emails to/cc field, then it presents a listview container of receiver of this invitation. But it does only display the receiver from the to-field, not the receiver from the cc-field and therefore the own email address could not be chosen from the listview container. Attached is a patch, which fixes this bug. It just adds the cc-receiver from the message.
Comment 1 Martin Ostertag 2006-07-18 16:24:34 UTC
Created attachment 17027 [details]
This patch adds the receiver from the CC-field to the listview container
Comment 2 Thomas McGuire 2007-04-30 16:54:59 UTC
Since the KMail developers do not monitor the bug system very closely, you should talk to the developers on the kde-pim mailinglist or the #kontact IRC channel to get your patch reviewed and commited.

Thanks.
Comment 3 Allen Winter 2007-05-01 00:33:36 UTC
SVN commit 659861 by winterz:

fix "attendee in CC-field are missing from an invitation if the own email address could not be found".
Patch from Martin. Thanks!

BUGS: 131029



 M  +2 -2      callback.cpp  


--- branches/KDE/3.5/kdepim/kmail/callback.cpp #659860:659861
@@ -50,7 +50,7 @@
 using namespace KMail;
 
 
-Callback::Callback( KMMessage* msg, KMReaderWin* readerWin ) 
+Callback::Callback( KMMessage* msg, KMReaderWin* readerWin )
   : mMsg( msg ), mReaderWin( readerWin ), mReceiverSet( false )
 {
 }
@@ -148,7 +148,7 @@
     mReceiver =
       KInputDialog::getItem( i18n( "Select Address" ),
           selectMessage,
-          addrs, 0, FALSE, &ok, kmkernel->mainWin() );
+          addrs+ccaddrs, 0, FALSE, &ok, kmkernel->mainWin() );
     if( !ok )
       mReceiver = QString::null;
   }