157 msg.attr.to=to; |
157 msg.attr.to=to; |
158 room:route_stanza(msg); |
158 room:route_stanza(msg); |
159 end |
159 end |
160 end |
160 end |
161 if room._data['subject'] then |
161 if room._data['subject'] then |
162 room:route_stanza(st.message({type='groupchat', from=room, to=to}):tag("subject"):text(room._data['subject'])); |
162 room:route_stanza(st.message({type='groupchat', from=room.jid, to=to}):tag("subject"):text(room._data['subject'])); |
163 end |
163 end |
164 end |
164 end |
165 |
165 |
166 local function room_get_disco_info(self, stanza) end |
166 local function room_get_disco_info(self, stanza) end |
167 local function room_get_disco_items(self, stanza) end |
167 local function room_get_disco_items(self, stanza) end |