Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for meeting status #62

Open
fortiko opened this issue Jan 18, 2013 · 0 comments
Open

Fix for meeting status #62

fortiko opened this issue Jan 18, 2013 · 0 comments

Comments

@fortiko
Copy link

fortiko commented Jan 18, 2013

There is a small mixup in code for parsing the meeting status values in caldav.php.

Here is the corrected version:

                    // SYNC_POOMCAL_MEETINGSTATUS
                    // Meetingstatus values
                    //  0 = is not a meeting
                    //  1 = is a meeting
                    //  3 = Meeting received
                    //  5 = Meeting is canceled
                    //  7 = Meeting is canceled and received
                    //  9 = as 1
                    // 11 = as 3
                    // 13 = as 5
                    // 15 = as 7                    
                                case "STATUS":
                                        switch ($property->Value())
                                        {
                                                case "TENTATIVE":
                                                        $message->meetingstatus = "3"; // was 1
                                                        break;
                                                case "CONFIRMED":
                                                        $message->meetingstatus = "1"; // was 3
                                                        break;
                                                case "CANCELLED":
                                                        $message->meetingstatus = "5"; // could also be 7
                                                        break;
                                        }
                                        break;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant