B:BD[
5.762] → [
5.762:786]
B:BD[
7.175] → [
7.175:245]
// repeat in matrix
if room := self.matching_matrix_channel(irc_m.channel) {
partial_irc_nick := irc_m.nick.split('!')[0]
name := self.name_convert(chat.System.irc, partial_irc_nick)
self.chat.say(chat.System.matrix, name, '', room, irc_m.message)
} else {
println('warning: no matrix room found for ${irc_m.channel}. msg dropped: $irc_m.message')
partial_irc_nick := irc_m.nick.split('!')[0]
if partial_irc_nick == irc_m.network.nick { // only repeat what the botuser heard
// repeat in matrix
if room := self.matching_matrix_channel(irc_m.channel) {
name := self.name_convert(chat.System.irc, partial_irc_nick)
self.chat.say(chat.System.matrix, name, '', room, irc_m.message)
} else {
println('warning: no matrix room found for ${irc_m.channel}. msg dropped: $irc_m.message')
}