Software /
code /
prosody
Changeset
8466:df970f76c720
Merge 0.9->0.10
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 09 Dec 2017 15:37:10 +0100 |
parents | 8455:1d0862814bfc (current diff) 8465:0ec72e67f797 (diff) |
children | 8467:7269313c1324 8477:597c23e1c38e |
files | plugins/muc/muc.lib.lua |
diffstat | 1 files changed, 1 insertions(+), 3 deletions(-) [+] |
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)