KamoCRM

MediaObjSource and MediaObj.source, createMessage with a source, findTwoPersonChatSession, and the impersonation/Enter-As access-log events (KamoCollab CP00 T4)

Featurekamo-shared-library
Shipped
October 5, 2026 at 1:16 AM UTC
Author
Kamo
Commit
3020857

- MediaObjSource {MEMBER, SYSTEM, SERVICE}; MediaObj.source (STRING, column SOURCE, length 16, nullable, no default) and sourceOrMember(), which reads NULL as MEMBER. - MediaService.createMessage gains a seven-argument overload taking the source; the six-argument overload delegates with null, so every existing caller stores NULL. - **************** b): the search half of findOrCreateChatSession, extracted; findOrCreateChatSession creates only when it is empty, so its behaviour is unchanged. - AccessLogEventType appends IMPERSONATION_STARTED, IMPERSONATION_ENDED, ENTER_AS. The MEDIA_OBJS.SOURCE column must exist (CP00 Task 3 DDL) before this is pushed.

All changes

Like what you see shipping?

All of it arrives in your workspace on its own. Start on the free plan and read this page again in a month.

Start Free ForeverView Pricing