false, self::CONFIG_COLUMN_SCHEMA => array( 'author' => 'text64', 'type' => 'text4', 'message' => 'text', ), self::CONFIG_KEY_SCHEMA => array( 'channel' => array( 'columns' => array('epoch'), ), ), ) + parent::getConfiguration(); } public function attachChannel(PhabricatorChatLogChannel $channel) { $this->channel = $channel; return $this; } public function getChannel() { return $this->assertAttached($this->channel); } /* -( PhabricatorPolicyInterface )----------------------------------------- */ public function getCapabilities() { return array( PhabricatorPolicyCapability::CAN_VIEW, ); } public function getPolicy($capability) { return $this->getChannel()->getPolicy($capability); } public function hasAutomaticCapability($capability, PhabricatorUser $viewer) { return $this->getChannel()->hasAutomaticCapability($capability, $viewer); } public function describeAutomaticCapability($capability) { return null; } }