Mercurial > prosody-modules
comparison mod_carbons/mod_carbons.lua @ 1343:7dbde05b48a9
all the things: Remove trailing whitespace
author | Florian Zeitz <florob@babelmonkeys.de> |
---|---|
date | Tue, 11 Mar 2014 18:44:01 +0100 |
parents | b21236b6b8d8 |
children | dbce8a7726ef |
comparison
equal
deleted
inserted
replaced
1342:0ae065453dc9 | 1343:7dbde05b48a9 |
---|---|
29 local function message_handler(event, c2s) | 29 local function message_handler(event, c2s) |
30 local origin, stanza = event.origin, event.stanza; | 30 local origin, stanza = event.origin, event.stanza; |
31 local orig_type = stanza.attr.type; | 31 local orig_type = stanza.attr.type; |
32 local orig_from = stanza.attr.from; | 32 local orig_from = stanza.attr.from; |
33 local orig_to = stanza.attr.to; | 33 local orig_to = stanza.attr.to; |
34 | 34 |
35 if not (orig_type == nil | 35 if not (orig_type == nil |
36 or orig_type == "normal" | 36 or orig_type == "normal" |
37 or orig_type == "chat") then | 37 or orig_type == "chat") then |
38 return -- No carbons for messages of type error or headline | 38 return -- No carbons for messages of type error or headline |
39 end | 39 end |