mymindstorm / matrix-appservice-mumble

Matrix <--> Murmur Bridge
https://matrix.org/docs/projects/bridge/matrix-appservice-mumble
MIT License
29 stars 8 forks source link

Sending recursively doesn't work #17

Open amalon opened 4 years ago

amalon commented 4 years ago

Messages sent recursively to a channel and all subchannels don't get relayed to matrix

Here's a normal message:

  array: [ [ 1 ], [ [Array], 113 ], [], [ [Array] ], [], 'asdf' ],

Here's a recursive message:

  array: [ [ 1 ], [ [Array], 113 ], [], [], [ [Array] ], 'asf' ],

If I'm reading that right, based on mumble's src/murmur/MurmurRPC.proto, I'm guessing there are no channels specified, just trees of channels, so we'd probably want to at some point query the bridged channel, following the parent links to the root, and listen for tree changes / reparenting, and do a lookup of all bridged channels below that point in the trees specified in the message