Last activity timestamp is sent even if extended presence is not enable between contacts.
You can use last-activity-retention-time configuration parameter to choose how many time last activity is kept in memory.
(cherry picked from commit e55435a2)
See !997 (merged)