equal
deleted
inserted
replaced
204 orig_to = orig_to or orig_from; -- Weird corner cases |
204 orig_to = orig_to or orig_from; -- Weird corner cases |
205 |
205 |
206 -- Don't store messages of these types |
206 -- Don't store messages of these types |
207 if orig_type == "error" |
207 if orig_type == "error" |
208 or orig_type == "headline" |
208 or orig_type == "headline" |
209 or orig_type == "groupchat" then |
209 or orig_type == "groupchat" |
|
210 or not stanza:get_child("body") then |
210 return; |
211 return; |
211 -- TODO Maybe headlines should be configurable? |
212 -- TODO Maybe headlines should be configurable? |
212 -- TODO Write a mod_mam_muc for groupchat messages. |
213 -- TODO Write a mod_mam_muc for groupchat messages. |
213 end |
214 end |
214 |
215 |