File tree Expand file tree Collapse file tree
assets/images/platform_logos Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -38,6 +38,8 @@ export function getPlatformIcon(name) {
3838 return new URL ( '@/assets/images/platform_logos/misskey.png' , import . meta. url ) . href
3939 } else if ( name === 'line' ) {
4040 return new URL ( '@/assets/images/platform_logos/line.png' , import . meta. url ) . href
41+ } else if ( name === 'matrix' ) {
42+ return new URL ( '@/assets/images/platform_logos/matrix.svg' , import . meta. url ) . href
4143 }
4244}
4345
@@ -65,6 +67,7 @@ export function getTutorialLink(platformType) {
6567 "satori" : "https://docs.astrbot.app/platform/satori/llonebot.html" ,
6668 "misskey" : "https://docs.astrbot.app/platform/misskey.html" ,
6769 "line" : "https://docs.astrbot.app/platform/line.html" ,
70+ "matrix" : "https://docs.astrbot.app/platform/matrix.html" ,
6871 }
6972 return tutorialMap [ platformType ] || "https://docs.astrbot.app" ;
7073}
@@ -107,6 +110,7 @@ export function getPlatformDisplayName(platformId) {
107110 vocechat : 'vocechat (VoceChat)' ,
108111 satori : 'satori (Satori)' ,
109112 line : 'line (LINE)' ,
113+ matrix : 'matrix (Matrix)' ,
110114 } ;
111115 return displayNameMap [ platformId ] || platformId ;
112116}
Original file line number Diff line number Diff line change 33> [ !TIP]
44> 该平台适配器由社区([ stevessr] ( https://github.com/stevessr ) ) 维护。如果您觉得有帮助,请支持开发者,给该仓库点一个 Star。❤️
55
6+ ## 部署 Matrix 服务器
7+
8+ Matrix 是一个 IM 协议,有着丰富的服务端实现。
9+
10+ 请在 [ Matrix Server] ( https://matrix.org/ecosystem/servers/ ) 查看可用的服务端。
11+
12+
13+
614## 支持的基本消息类型
715
816
You can’t perform that action at this time.
0 commit comments