Mercurial > prosody-hg
diff plugins/muc/muc.lib.lua @ 8466:df970f76c720
Merge 0.9->0.10
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Sat, 09 Dec 2017 15:37:10 +0100 |
| parents | d43012448c1f 0ec72e67f797 |
| children | 7269313c1324 597c23e1c38e |
line wrap: on
line diff
--- 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)
