equal
deleted
inserted
replaced
83 |
83 |
84 if group_info.muc_jid then |
84 if group_info.muc_jid then |
85 inject_bookmark(jid, group_info.muc_jid, true, group_info.name); |
85 inject_bookmark(jid, group_info.muc_jid, true, group_info.name); |
86 elseif group_info.mucs then |
86 elseif group_info.mucs then |
87 for _, chat in ipairs(mod_groups.get_group_chats(event.id)) do |
87 for _, chat in ipairs(mod_groups.get_group_chats(event.id)) do |
88 inject_bookmark(jid, chat.jid, true, chat.name); |
88 if not chat.deleted then |
|
89 inject_bookmark(jid, chat.jid, true, chat.name); |
|
90 end |
89 end |
91 end |
90 else |
92 else |
91 module:log("debug", "ignoring user added event on group %s because it has no MUCs", event.id) |
93 module:log("debug", "ignoring user added event on group %s because it has no MUCs", event.id) |
92 end |
94 end |
93 end |
95 end |