2683:9e8000c84fef | 2687:f9bc95aadc26 |
---|---|
138 else | 138 else |
139 if host then | 139 if host then |
140 to_type = '/host'; | 140 to_type = '/host'; |
141 else | 141 else |
142 to_type = '/bare'; | 142 to_type = '/bare'; |
143 to_self = true; | |
143 end | 144 end |
144 end | 145 end |
145 | 146 |
146 local event_data = {origin=origin, stanza=stanza}; | 147 local event_data = {origin=origin, stanza=stanza}; |
147 if preevents then -- c2s connection | 148 if preevents then -- c2s connection |