Software /
code /
prosody
Comparison
plugins/mod_presence.lua @ 5171:b4b302fe415c
mod_presence: Fix indentation
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 14 Oct 2012 21:04:46 +0200 |
parent | 5060:b0e36777f715 |
child | 5297:7453245f16e7 |
comparison
equal
deleted
inserted
replaced
5170:3eaf4fc58902 | 5171:b4b302fe415c |
---|---|
114 core_post_stanza(origin, request, true); | 114 core_post_stanza(origin, request, true); |
115 end | 115 end |
116 end | 116 end |
117 | 117 |
118 if priority >= 0 then | 118 if priority >= 0 then |
119 local event = { origin = origin } | 119 local event = { origin = origin } |
120 module:fire_event('message/offline/broadcast', event); | 120 module:fire_event('message/offline/broadcast', event); |
121 end | 121 end |
122 end | 122 end |
123 if stanza.attr.type == "unavailable" then | 123 if stanza.attr.type == "unavailable" then |
124 origin.presence = nil; | 124 origin.presence = nil; |
125 if origin.priority then | 125 if origin.priority then |