RadhikaG / ChatPretty

A pretty-printer for (for now) WhatsApp chats.
https://chatpretty.herokuapp.com
MIT License
8 stars 4 forks source link

Cannot handle messages from only one participant #4

Open karanluthra opened 8 years ago

karanluthra commented 8 years ago

If I were to quote messages from only one participant, then I get an internal server error when I run . On retrying (by clicking 'back'), the Who are you dropdown doesn't get an entry, hence cannot proceed.

Sample input: [10/4 1:14 AM] Karan Luthra: I know it because i was part of the organizing team [10/4 1:14 AM] Karan Luthra: Yeah [10/4 1:14 AM] Karan Luthra: Take a day or two

Output: 500 Internal Server Error The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.

RadhikaG commented 8 years ago

Just checked. Yes, you're right, it breaks when there's only one participant. Better look into it. Thanks!