25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-12-24 17:29:28 +01:00

* src/ejabberd_c2s.erl: Bugfix: deliver messages when first

presence is Invisible (thanks to Dariusz Markowicz)(EJAB-262)

SVN Revision: 1348
This commit is contained in:
Badlop 2008-06-09 23:43:47 +00:00
parent be8d1902d0
commit ff94e586eb
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2008-06-10 Badlop <badlop@process-one.net>
* src/ejabberd_c2s.erl: Bugfix: deliver messages when first
presence is Invisible (thanks to Dariusz Markowicz)(EJAB-262)
2008-06-08 Badlop <badlop@process-one.net>
* doc/guide.tex: Small fixes (thanks to Christoph Anton Mitterer)

View File

@ -1475,6 +1475,8 @@ presence_update(From, Packet, StateData) ->
pres_i = ?SETS:new(),
pres_invis = false};
"invisible" ->
NewPriority = get_priority_from_presence(Packet),
update_priority(NewPriority, Packet, StateData),
NewState =
if
not StateData#state.pres_invis ->