diff options
author | Alexey Shchepin <alexey@process-one.net> | 2005-07-26 03:04:26 +0000 |
---|---|---|
committer | Alexey Shchepin <alexey@process-one.net> | 2005-07-26 03:04:26 +0000 |
commit | 02d3151ee781471f12ace1c5f06f0dcdd8a669b0 (patch) | |
tree | f8e8cd21931a31fd8bb20ca11006cc616113280b /src/mod_offline_odbc.erl | |
parent | * src/mod_pubsub/mod_pubsub.erl: Updated to J-EAI version (diff) |
* src/jd2ejd.erl: Updated to work with ODBC
* src/mod_roster_odbc.erl: Updated
* src/mod_offline_odbc.erl: Bugfix
* src/mod_last_odbc.erl: Bugfix
SVN Revision: 379
Diffstat (limited to 'src/mod_offline_odbc.erl')
-rw-r--r-- | src/mod_offline_odbc.erl | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mod_offline_odbc.erl b/src/mod_offline_odbc.erl index 09f06c867..58fcf34d1 100644 --- a/src/mod_offline_odbc.erl +++ b/src/mod_offline_odbc.erl @@ -217,7 +217,10 @@ pop_offline_messages(Ls, User, Server) -> "select * from spool where username='", EUser, "';" "delete from spool where username='", EUser, "';" "commit"]) of - {selected, ["username","xml"], Rs} -> + [{updated, undefined}, + {selected, ["username","xml"], Rs}, + {updated, _}, + {updated, undefined}] -> Ls ++ lists:flatmap( fun({_, XML}) -> case xml_stream:parse_element(XML) of |