瀏覽代碼

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
 		ce.Portal.ExpirationTime = prevExpirationTime
 		return
 		return
 	}
 	}
-	ce.Portal.Update()
+	ce.Portal.Update(nil)
 	if !ce.Portal.IsPrivateChat() && !ce.Bridge.Config.Bridge.DisappearingMessagesInGroups {
 	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.")
 		ce.Reply("Disappearing timer changed successfully, but this bridge is not configured to disappear messages in group chats.")
 	} else {
 	} else {