L2IYR6USEM6XW4MVPLHBCK55LEHQK34H5VZF23M4F4MPEG2YIDLAC
JCMV2ZQOJVGKXMSR6FH7JDAHD4JZYX4XENQD6FWO3DRGXB7TVYAAC
FMITFZMDZ5E5DL7RX5KPFGWFQUUTEDHR36UYB6IVELFL6G7P2QYQC
S4P2B3FPF57HPHTIAYGMPCVKB7573IB5ZBKNXVBTB6ICCPF55WNQC
LBKFI2GRVO3NKT35RZ7R7WH4MQ6DVJEL6VC6NP3TRMACUQZIWXFAC
XXOERFMY4WKJJFRB7ZJDWJPAXU5GXTREV73BJHYM2JV4EELEMKSQC
SCSKOWMTCSTVJUZ4KPYFFCRDFGDPZWQUNQ5X5MQQ7USMBM57CGHAC
Z63GNDZMADT3EZ2AXMRJACMLUJDUNN32IO7DXF4WGGYLBWPZ6FHAC
C5QQ7N4E7BXGFGIFRXDSKVD47C4EXF7RSSE5KNV5RGY62A4DM32AC
TLG7U353QQOUXYNQCL4LNSH7PAQ3SC2DVR7ZP2M5DMYYMXGLA3PQC
MTUQWI5MTJKHPM5DUV5ZWOGPZLTTCG5VO6G4LUTN7SU4MOYDMT6AC
DB44ZP7WEBTVG2VE22AT3WEOV7BAKSTKWSLAAQJ22PCS2ELDK5SAC
7Z22HWWDWKUZCOQFEWOJN64BJ5M33AYQ2GEJMHP3UV2OXJIH3BCAC
BXLMOKJKVWRCNSJSD6L4RFON2IHEWB7J42QRYWN7M45XP22752YAC
THULBVNUJHXMNETYBU2WSMFWD7VPSSNPSOAAVVINL7LIOENEHZRQC
// register user, join room, and try again
self.register(user_id) or {}
self.join_as(user_id, room.id) or {}
self.call(http.Method.put, 'rooms/$room.id/send/m.room.message/$id$user_part',
evt.str()) or {}
return error_with_code('', 1)
return RoomSayAsReturn.user_not_found
if _ := self.matrix.room_say_as(outmsg.name, room, outmsg.message) {
self.chat.queue.delete(id)
} else {
println('matrix room_say_as error. retainig msg for retransmission')
match self.matrix.room_say_as(outmsg.name, room, outmsg.message) {
.good {
self.chat.queue.delete(id)
}
.user_not_found {
println('matrix room_say_as user_not_found.')
// register user, join room, and try again
self.matrix.register(outmsg.name) or {}
self.matrix.join_as(outmsg.name, room.id) or {}
self.chat.out <- id // deadlock?
}
.error {
println('matrix room_say_as error. retainig msg for retransmission')
}