diff options
author | Wilmer van der Gaast <wilmer@gaast.net> | 2010-03-18 14:38:06 +0000 |
---|---|---|
committer | Wilmer van der Gaast <wilmer@gaast.net> | 2010-03-18 14:38:06 +0000 |
commit | 638feab58aebc97d646820dd1bc9b8d9fbeec29d (patch) | |
tree | c4022afb6ffef2b672f3aaf16c8bd7a9f7b23ea8 /protocols/jabber/message.c | |
parent | 6ce01bec119c96243a8d43e28681cc512fbd0950 (diff) | |
parent | 842cd8dbfb98b61af33b5fe481364c3cfbeaca04 (diff) |
Merging in Jabber resource selection fix. This adds the activity_timeout
setting, which makes BitlBee send a message to bare JIDs if there was no
recent seen activity from any of the person's resources. This should fix
most issues with messages going to the wrong resource (i.e. someone's
mobile phone instead of something more sensible).
Diffstat (limited to 'protocols/jabber/message.c')
-rw-r--r-- | protocols/jabber/message.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/jabber/message.c b/protocols/jabber/message.c index 6cb67d42..a226a225 100644 --- a/protocols/jabber/message.c +++ b/protocols/jabber/message.c @@ -70,7 +70,7 @@ xt_status jabber_pkt_message( struct xt_node *node, gpointer data ) { if( bud ) { - bud->last_act = time( NULL ); + bud->last_msg = time( NULL ); from = bud->ext_jid ? : bud->bare_jid; } else |