hifi / heisenbridge

a bouncer-style Matrix IRC bridge
MIT License
244 stars 34 forks source link

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

Open e-luks opened 7 months ago

e-luks commented 7 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.