# HG changeset patch # User Kim Alvefur # Date 1512830230 -3600 # Node ID df970f76c7205ca0bba9f5e1577232a87695f854 # Parent 1d0862814bfcd27f734e167299b151b152d6d7fb# Parent 0ec72e67f797965e4778b063ebb2fb41ce401b4d Merge 0.9->0.10 diff -r 1d0862814bfc -r df970f76c720 plugins/muc/muc.lib.lua --- a/plugins/muc/muc.lib.lua Tue Dec 05 12:21:51 2017 +0100 +++ b/plugins/muc/muc.lib.lua Sat Dec 09 15:37:10 2017 +0100 @@ -189,9 +189,7 @@ end end function room_mt:send_subject(to) - if self._data['subject'] then - self:_route_stanza(st.message({type='groupchat', from=self._data['subject_from'] or self.jid, to=to}):tag("subject"):text(self._data['subject'])); - end + self:_route_stanza(st.message({type='groupchat', from=self._data['subject_from'] or self.jid, to=to}):tag("subject"):text(self._data['subject'])); end function room_mt:get_disco_info(stanza)