diff options
author | Christophe Romain <christophe.romain@process-one.net> | 2009-08-28 00:06:28 +0000 |
---|---|---|
committer | Christophe Romain <christophe.romain@process-one.net> | 2009-08-28 00:06:28 +0000 |
commit | 156c496a27603d5d180dabd111a38bcda3db5a2b (patch) | |
tree | d5ab7dcbe4df977e0adf1d778bbb2de4e7c96261 /src/mod_pubsub/pubsub_odbc.patch | |
parent | delete node fix (diff) |
fix send last item issue
SVN Revision: 2560
Diffstat (limited to 'src/mod_pubsub/pubsub_odbc.patch')
-rw-r--r-- | src/mod_pubsub/pubsub_odbc.patch | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mod_pubsub/pubsub_odbc.patch b/src/mod_pubsub/pubsub_odbc.patch index 4262ca484..dffc90f06 100644 --- a/src/mod_pubsub/pubsub_odbc.patch +++ b/src/mod_pubsub/pubsub_odbc.patch @@ -1,4 +1,4 @@ ---- mod_pubsub.erl 2009-08-28 00:36:21.000000000 +0200 +--- mod_pubsub.erl 2009-08-28 02:05:49.000000000 +0200 +++ mod_pubsub_odbc.erl 2009-08-28 00:36:01.000000000 +0200 @@ -45,7 +45,7 @@ %%% TODO @@ -240,10 +240,10 @@ lists:foreach( fun({Node, subscribed, _, SubJID}) -> if (SubJID == LJID) or (SubJID == BJID) -> -- #pubsub_node{options = Options, type = Type, id = NodeId} = Node, +- #pubsub_node{nodeid = {H, N}, type = Type, id = NodeId, options = Options} = Node, - case get_option(Options, send_last_published_item) of - on_sub_and_presence -> -- send_items(Host, Node, NodeId, Type, SubJID, last); +- send_items(H, N, NodeId, Type, SubJID, last); - _ -> - ok - end; |