diff options
author | Paweł Chmielowski <pchmielowski@process-one.net> | 2019-05-02 13:19:54 +0200 |
---|---|---|
committer | Paweł Chmielowski <pchmielowski@process-one.net> | 2019-05-02 13:19:54 +0200 |
commit | cd2d62bffdcb139d35ea1036075a6b60a237a71b (patch) | |
tree | 8a9028c50478041dd5044cd315fccd70cb422d7a /src/mod_offline.erl | |
parent | Fix typo and remove forgotten log from 492da2ba (diff) |
Set from/to in activity marker messages
Diffstat (limited to 'src/mod_offline.erl')
-rw-r--r-- | src/mod_offline.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mod_offline.erl b/src/mod_offline.erl index f935bd1b6..0c70ae065 100644 --- a/src/mod_offline.erl +++ b/src/mod_offline.erl @@ -637,7 +637,7 @@ user_unset_presence(User, Server, _Resource, _Status) -> store_last_activity_marker(User, Server, Timestamp) -> Jid = jid:make(User, Server, <<>>), - Pkt = xmpp:put_meta(#message{id = <<"ActivityMarker">>, type = error}, + Pkt = xmpp:put_meta(#message{id = <<"ActivityMarker">>, type = error, from = Jid, to = Jid}, activity_marker, true), Msg = #offline_msg{us = {User, Server}, from = Jid, to = Jid, |