Follow-up cleanup from /simplify-code review: - Replace 'if X: return True / return False' with 'return X' - Replace 'getattr(source, "chat_type", None) or ""' with 'source.chat_type' (SessionSource.chat_type is a non-optional str field) |
||
|---|---|---|
| .. | ||
| buzz | ||
| dingtalk | ||
| discord | ||
| feishu | ||
| google_chat | ||
| homeassistant | ||
| irc | ||
| line | ||
| matrix | ||
| mattermost | ||
| ntfy | ||
| photon | ||
| raft | ||
| simplex | ||
| slack | ||
| sms | ||
| teams | ||
| telegram | ||
| wecom | ||