Skip to content
Snippets Groups Projects
Commit 1c0af616 authored by Sebastian Pongratz's avatar Sebastian Pongratz :ping_pong:
Browse files

Merge branch '2021.0_1078253_MailbridgeVerantwortlicher' into '2021.0'

[Projekt: xRM-ContactManagement][TicketNr.: 1078253][Mailbridge setzt...

See merge request xrm/basic!795
parents 7afb540a b4143179
No related branches found
No related tags found
No related merge requests found
......@@ -200,10 +200,10 @@ IncomingEmailExecutor.prototype.createActivity = function(pAdditionalLinks)
directionKeywordId: this.activityData.direction || this.failbackActivityData.direction
};
if (vars.get("$sys.isclient")){
if (vars.get("$sys.isclient") == "true"){
activityDataForInsert.responsibleContactId = EmployeeUtils.getCurrentContactId();
} else {
activityDataForInsert.responsibleContactId = this.activityData.employeeContactId || this.failbackActivityData.employeeContactId;
activityDataForInsert.responsibleContactId = this.activityData.employeeContactId ? this.activityData.employeeContactId : this.failbackActivityData.employeeContactId;
}
var activityLinks = this.activityData.links || this.failbackActivityData.links;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment