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:
parent
be8d1902d0
commit
ff94e586eb
@ -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)
|
||||
|
@ -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 ->
|
||||
|
Loading…
Reference in New Issue
Block a user