Mercurial > prosody-modules
diff mod_minimix/mod_minimix.lua @ 3122:c69f32c9c576
mod_minimix: Don't consider oneself fully joined until subject message
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Tue, 19 Jun 2018 21:59:34 +0200 |
parents | b914ee44b49f |
children | f4e86d2662ec |
line wrap: on
line diff
--- a/mod_minimix/mod_minimix.lua Tue Jun 19 19:11:29 2018 +0200 +++ b/mod_minimix/mod_minimix.lua Tue Jun 19 21:59:34 2018 +0200 @@ -29,7 +29,7 @@ origin.joined_rooms = { [room_jid] = nickname }; end - if data:get(username, room_jid) then + if data:get(username, room_jid, "subject") then module:log("debug", "Already joined to %s as %s", room_jid, nickname); local presences = data:get(username, room_jid, "presence"); for _, pres in pairs(presences) do