forked from MirrorHub/mautrix-whatsapp
commit
5c70c39625
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue