equal
deleted
inserted
replaced
265 local attributes = nil; |
265 local attributes = nil; |
266 local since = ""; |
266 local since = ""; |
267 local to = ""; |
267 local to = ""; |
268 local topic = ""; |
268 local topic = ""; |
269 |
269 |
|
270 if not(prosody.hosts[host] and prosody.hosts[host].muc and prosody.hosts[host].muc.rooms[bareRoomJid]) then |
|
271 return; |
|
272 end |
|
273 |
270 path = path:gsub("/[^/]*$", ""); |
274 path = path:gsub("/[^/]*$", ""); |
271 attributes = lfs.attributes(path); |
275 attributes = lfs.attributes(path); |
272 do |
276 do |
273 local found = 0; |
277 local found = 0; |
274 for jid, room in pairs(prosody.hosts[host].muc.rooms) do |
278 for jid, room in pairs(prosody.hosts[host].muc.rooms) do |