Terms&Conditions (#18) WIP:

* fix terms deletion.
This commit is contained in:
John Livingston
2024-06-25 12:40:00 +02:00
parent 2316c6b1fe
commit e6721b1fa8
2 changed files with 4 additions and 2 deletions

View File

@ -39,7 +39,9 @@ function get_muc_terms(room)
end
function set_muc_terms(room, terms)
terms = terms or nil;
if terms == "" then
terms = nil;
end
if get_muc_terms(room) == terms then return false; end