diff options
author | Matthew Wild <mwild1@gmail.com> | 2013-05-21 13:21:30 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2013-05-21 13:21:30 +0100 |
commit | 9f05b72a8efbe91a0fe7f4da001f8a96dd264c7b (patch) | |
tree | b5deaeb756289787de1c404613a7730a2047d1b4 | |
parent | 4f631a6db0a44cba38168d499893458f133845c7 (diff) | |
download | prosody-9f05b72a8efbe91a0fe7f4da001f8a96dd264c7b.tar.gz prosody-9f05b72a8efbe91a0fe7f4da001f8a96dd264c7b.zip |
mod_muc: Remove some old TODO comments
-rw-r--r-- | plugins/muc/muc.lib.lua | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/muc/muc.lib.lua b/plugins/muc/muc.lib.lua index e1deab99..483b0812 100644 --- a/plugins/muc/muc.lib.lua +++ b/plugins/muc/muc.lib.lua @@ -215,7 +215,6 @@ function room_mt:get_disco_items(stanza) return reply; end function room_mt:set_subject(current_nick, subject) - -- TODO check nick's authority if subject == "" then subject = nil; end self._data['subject'] = subject; self._data['subject_from'] = current_nick; @@ -848,7 +847,7 @@ function room_mt:handle_to_room(origin, stanza) -- presence changes and groupcha if subject then if occupant.role == "moderator" or ( self._data.changesubject and occupant.role == "participant" ) then -- and participant - self:set_subject(current_nick, subject); -- TODO use broadcast_message_stanza + self:set_subject(current_nick, subject); else stanza.attr.from = from; origin.send(st.error_reply(stanza, "auth", "forbidden")); |