revert
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details

This commit is contained in:
stryan 2023-05-16 18:25:25 -04:00
parent fc274e665a
commit aa3c366f71
1 changed files with 1 additions and 2 deletions

View File

@ -61,11 +61,10 @@ func (s *simp) Run() {
"dimension-m.video-simp-"+v.Name,
&content,
)
update := true
if err != nil {
log.Errorf("error getting state event in room %v: %v", room, err)
}
if update {
if content.ID == "" {
if v.AnnounceLive {
s.client.SendText(room, v.LiveMsg)
} else {