mrDoctorWho/vk4xmpp

View on GitHub
js/3.0/getLastTime.js

Summary

Maintainability
A
0 mins
Test Coverage
// It makes no sense and not required at all
// Allows to get user's last activity

var uid = Args.uid;
var time = API.messages.getLastActivity({"user_id": uid});
return time.time;