bridge between mattermost, IRC, gitter, xmpp, slack, discord, telegram, rocketchat, twitch, ssh-chat, zulip, whatsapp, keybase, matrix, microsoft teams, nextcloud, mumble, vk and more with REST API (mattermost not required!)
Apache License 2.0
6.66k
stars
618
forks
source link
panic: runtime error: slice bounds out of range [:5] with length 4 #2099
Describe the bug
It crashes when someone sends the following from the Discord side of the relay
To Reproduce
My discord username is 8 chars which might play into reproducability, you may need to remove len(username) - 8 chars from the message for the bug to be reproduced. The following messages are in json format
Describe the bug It crashes when someone sends the following from the Discord side of the relay
To Reproduce My discord username is 8 chars which might play into reproducability, you may need to remove
len(username) - 8
chars from the message for the bug to be reproduced. The following messages are in json formatExpected behavior Should send two lines, maybe like this but possibly different:
Screenshots/debug logs
Environment and config See #2098