if ((flags & kImapMsgCustomKeywordFlag) && customFlags) m_flagState->GetCustomFlags(uid, customFlags); }
NS_IMETHODIMP nsImapProtocol::GetFlagsForUID(PRUint32 uid, PRBool *foundIt, imapMessageFlagsType *resultFlags){  PRInt32 i;  imapMessageFlagsType flags = m_flagState->GetMessageFlagsFromUID(uid, foundIt, &i);  if (*foundIt)    *resultFlags = flags;  return NS_OK;}