public function createAttrs(MessageInterface $message) { return array_merge(['assigned_id' => $message->getAssignedId(), 'dept_id' => config('settings.default.dept'), 'org_id' => $message->getOrgId() ? $message->getOrgId() : $message->getUser()->org_id, 'title' => $message->getSubject(), 'body' => $message->getSkinny(), 'user_id' => $message->getUserId(), 'priority' => $message->getTags()->get('priority')], $this->attrs($message)); }