优化代码

main
gzydong 2021-08-10 22:17:55 +08:00
parent c8a67907bc
commit a221d49548
1 changed files with 2 additions and 1 deletions

View File

@ -291,7 +291,8 @@ class TalkController extends CController
TalkMessageType::TEXT_MESSAGE,
TalkMessageType::FILE_MESSAGE,
TalkMessageType::FORWARD_MESSAGE,
TalkMessageType::CODE_MESSAGE
TalkMessageType::CODE_MESSAGE,
TalkMessageType::VOTE_MESSAGE
];
if (in_array($params['msg_type'], $types)) {