Software /
code /
prosody
Comparison
plugins/mod_presence.lua @ 5172:3b93f92c613a
Merge 0.9 -> trunk
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 14 Oct 2012 22:53:41 +0200 |
parent | 5171:b4b302fe415c |
child | 5297:7453245f16e7 |
comparison
equal
deleted
inserted
replaced
5166:72cdc2d4e15e | 5172:3b93f92c613a |
---|---|
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 |