HUZ3KCJMRK6FSMTH2VUMJRMAIMPA23PIGFIHTU2NMGDDRWNLNLGQC
GN5HJ6MQNCPQDINAHS35GUCFV3FKNHOHGVG3YF6FYAHR5MILMPDAC
DCJF6FAOMINC4FWXC54PCHIJPHIQOTNXQ5R57ZGLBRTV5UN5MX5QC
SN6LXPXDTKM7LEJ73ZDYX4VG7TGAAQ7TWF3TAITAZI6AUJO5RC4QC
S4P2B3FPF57HPHTIAYGMPCVKB7573IB5ZBKNXVBTB6ICCPF55WNQC
6V2WQCRS4WPHRGWQ4VFQBSUNJJ3DMZ5PD3NRPKLUZEAFEUGUKSYQC
M63OP6ZDPA565QYQXIKZF4AFCULTELEOUFW75XQABIMUYKQGUVEQC
V2SIHPH72E3ZWD5ARYYPJQEO34GIQVFFJT5PYF75BGVS53KJ3W3AC
B5EQK6YSRS2YL3C4MXWCOUDYDEOB46LXAZNRCSXC7STIME7W6JQAC
LQIELRM7CGBYTVA3GDZ54R3CAA64SVSJXNASQPOECWCGFEEUNS6AC
HTHDQRSJV4WVGIM53GR7JGIRZACMIZDI5UMJ522QFI3ZCX5K56GQC
// repeat in irc
nick := self.name_convert(chat.System.matrix, sender)
if room := self.matching_irc_channel(nick, room_id) {
self.chat.say(chat.System.irc, nick, '', room, body)
} else {
println('warning: no irc channel found for $nick ${room_id}. msg dropped: $body')
if alias_room := self.matrix.room_alias(room_id) {
nick := self.name_convert(chat.System.matrix, sender)
if room := self.matching_irc_channel(nick, alias_room.name) {
// repeat in irc
self.chat.say(chat.System.irc, nick, '', room, body)
} else {
println('warning: no irc channel found for $nick ${alias_room}. msg dropped: $body')
}
println('sync_rooms: joining $room.id')
_, code := self.matrix.join(room.id) or {
println('matrix.join fail $err')
continue
}
if code == 200 {
self.matrix.joined_rooms.add(room)
self.admin_say('matrix: room $room joined')
} else if code == 403 {
println('sync_rooms: not invited to $room.name')
}
println('sync_rooms: joining $room.id')
_, code := self.matrix.join(room.id) or {
println('matrix.join fail $err')
continue
}
if code == 200 {
self.matrix.joined_rooms.add(room)
self.admin_say('matrix: room $room joined')
} else if code == 403 {
println('sync_rooms: not invited to $room.name')
}