This commit is contained in:
stryan 2021-12-04 11:09:50 -05:00
parent 4ca54eb7db
commit e8a0b29c0b

View File

@ -195,7 +195,7 @@ func main() {
//event found, kill it //event found, kill it
resp, err := client.SendStateEvent(room, event.NewEventType("im.vector.modular.widgets"), "dimension-m.video-simp-"+v.Name, struct{}{}) resp, err := client.SendStateEvent(room, event.NewEventType("im.vector.modular.widgets"), "dimension-m.video-simp-"+v.Name, struct{}{})
if err != nil { if err != nil {
log.Println("error removed video embed") log.Println("error removing video embed")
log.Println(err) log.Println(err)
} }
CurrStreamCnt = CurrStreamCnt - 1 CurrStreamCnt = CurrStreamCnt - 1