hifi / heisenbridge

a bouncer-style Matrix IRC bridge
MIT License
241 stars 32 forks source link

Send multiple JOIN commands if 512 bytes message length is violated #283

Open e-luks opened 5 months ago

e-luks commented 5 months ago

As messages are limited to 512 bytes including CR/LF, the JOIN command fails if the amount of channels intended to be joined is too large.

This commit allows joining a larger number of rooms by splitting the channels to be joined among multiple JOIN commands instead of running only one join commands which violates the message length.