matrix突触matrix-appservice-irc消息仅从IRC传播到Matrix

我的irc桥连接了我想要的房间,除了消息只从irc传递到matrix! 另外matrix[m]用户不在irc聊天室中出现。

这是我的configuration:

$ cat config.yaml

# Configuration specific to AS registration. Unless other marked, all fields # are *REQUIRED*. homeserver: # The URL to the home server for client-server API calls, also used to form the # media URLs as displayed in bridged IRC channels: url: "http://localhost:8008" # The 'domain' part for user IDs on this home server. Usually (but not always) # is the "domain name" part of the HS URL. domain: "perthchat.org" # Configuration specific to the IRC service ircService: servers: # The address of the server to connect to. chat.freenode.net: # A human-readable short name. This is used to label IRC status rooms # where matrix users control their connections. # Eg 'ExampleNet IRC Bridge status'. # It is also used in the Third Party Lookup API as the instance `desc` # property, where each server is an instance. name: "FreeNode" #additionalAddresses: [ "irc2.example.com" ] mappings: # 1:many mappings from IRC channels to room IDs on this IRC server. # The matrix room must already exist. Your matrix client should expose # the room ID in a "settings" page for the room. #"#thepub": ["!kieouiJuedJoxtVdaG:localhost"] "#Perth": ["!kqNjXXXXXXXXXXXXXX:perthchat.org"] "##perthcrypto": ["!iAnyMXXXXXXXXXXXXXX:perthchat.org"] "##perthfosschurch": ["!DSIYXXXXXXXXXXXXXX:perthchat.org"] "##perthfishing": ["!EcHSXXXXXXXXXXXXXX:perthchat.org"] "##sayhello": ["!DwUPXXXXXXXXXXXXXX:perthchat.org"] 

$ cat my_registration_file.yaml

  id: 1ebdXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX hs_token: 9561XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX as_token: 9883XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX namespaces: users: - exclusive: true regex: '@irc_.*:perthchat.org' aliases: - exclusive: true regex: '#irc_.*:perthchat.org' rooms: - exclusive: false regex: '!DSIYXXXXXXXXXXXXXX:perthchat.org' - exclusive: false regex: '!DwUPXXXXXXXXXXXXXX:perthchat.org' - exclusive: false regex: '!EcHSXXXXXXXXXXXXXX:perthchat.org' - exclusive: false regex: '!iAnyMXXXXXXXXXXXXXX:perthchat.org' - exclusive: false regex: '!kqNjXXXXXXXXXXXXXX:perthchat.org' url: 'http://localhost:9999/' sender_localpart: my_bot rate_limited: false protocols: - irc 

这是用于在tmux中运行它的命令:

 $ node app.js -c config.yaml -f my_registration_file.yaml -p 9999 

房间号和令牌已被编辑。 任何人都可以看到我做错了什么? :p