소스 검색

commands: fix build

Sumner Evans 3 년 전
부모
커밋
48c60d33c4
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      commands.go

+ 1 - 1
commands.go

@@ -1246,7 +1246,7 @@ func (handler *CommandHandler) CommandDisappearingTimer(ce *CommandEvent) {
 		ce.Portal.ExpirationTime = prevExpirationTime
 		return
 	}
-	ce.Portal.Update()
+	ce.Portal.Update(nil)
 	if !ce.Portal.IsPrivateChat() && !ce.Bridge.Config.Bridge.DisappearingMessagesInGroups {
 		ce.Reply("Disappearing timer changed successfully, but this bridge is not configured to disappear messages in group chats.")
 	} else {