mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-28 16:34:13 +01:00
mod_push_mnesia: Fix lookup of all host sessions
This commit is contained in:
parent
bb76da03ea
commit
75127a0deb
@ -128,9 +128,9 @@ lookup_sessions(LServer) ->
|
||||
timestamp = TS,
|
||||
service = PushLJID,
|
||||
node = Node,
|
||||
xml = El})
|
||||
xml = El} = Rec)
|
||||
when S == LServer ->
|
||||
{TS, PushLJID, Node, El}
|
||||
Rec
|
||||
end),
|
||||
Records = mnesia:dirty_select(push_session, MatchSpec),
|
||||
{ok, records_to_sessions(Records)}.
|
||||
|
Loading…
Reference in New Issue
Block a user