equal
deleted
inserted
replaced
200 local orig_from = stanza.attr.from; |
200 local orig_from = stanza.attr.from; |
201 |
201 |
202 if not orig_from and c2s then |
202 if not orig_from and c2s then |
203 orig_from = origin.full_jid; |
203 orig_from = origin.full_jid; |
204 end |
204 end |
|
205 orig_to = orig_to or orig_from; -- Weird corner cases |
205 |
206 |
206 -- Don't store messages of these types |
207 -- Don't store messages of these types |
207 if orig_type == "error" |
208 if orig_type == "error" |
208 or orig_type == "headline" |
209 or orig_type == "headline" |
209 or orig_type == "groupchat" then |
210 or orig_type == "groupchat" then |