aboutsummaryrefslogtreecommitdiff
path: root/src/mod_push_sql.erl
diff options
context:
space:
mode:
authorPouriya <pouriya.jahanbakhsh@gmail.com>2022-01-21 03:14:28 +0330
committerGitHub <noreply@github.com>2022-01-21 03:14:28 +0330
commit03485f5e940326a9fdbcf2ecd1918b2772003a6a (patch)
tree5ce253cdd24e11f0f2bd90babbbf0bc38e38c575 /src/mod_push_sql.erl
parentMerge branch 'processone:master' into master (diff)
parentmod_pubsub: Allow for limiting item_expire value (diff)
Merge branch 'processone:master' into master
Diffstat (limited to 'src/mod_push_sql.erl')
-rw-r--r--src/mod_push_sql.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mod_push_sql.erl b/src/mod_push_sql.erl
index f89b904c2..c024a12d1 100644
--- a/src/mod_push_sql.erl
+++ b/src/mod_push_sql.erl
@@ -52,7 +52,7 @@ store_session(LUser, LServer, NowTS, PushJID, Node, XData) ->
case ?SQL_UPSERT(LServer, "push_session",
["!username=%(LUser)s",
"!server_host=%(LServer)s",
- "!timestamp=%(TS)d",
+ "timestamp=%(TS)d",
"!service=%(Service)s",
"!node=%(Node)s",
"xml=%(XML)s"]) of