Software /
code /
prosody-modules
Changeset
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 | 3121:92b4a1d72d73 |
children | 3123:f4e86d2662ec |
files | mod_minimix/mod_minimix.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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