I was investigating if I can find out if a student messaged a course teacher.
When I looked at our CD2 conversation_messages table, all the context_type seems to be Account.
I could work backwards a bit, e.g.,
1) find all the student's courses
2) find the teachers for the courses
3) find messages where only the student, teacher participated.
But then I lose some data. If the teacher happens to be teaching more than one course that the student is enrolled in, I cannot tell what course it pertains.
Is there any other way to figure out course context for the conversation_message that I'm missing?
Thanks!
Ian